RE: Patch for apps/bench/pingpong

Jan Stoess <[email protected]> Thu, 31 Dec 2009 09:00:28 +0100
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
> Oops. that's my bad, I thought the code should be 64bit..so I changed
> both the Makefile and the assembly to make it 64bit compatible.
> 
> Actually my binutils (2.20) complains about the ".ehframe"  is
> nonrelocatable, that's why I added f-no-exception.

OK, thanks for letting us know. And, last question, what do you need the -fPIC for?

-Jan

--
Jan Stoess
KIT/UKa System Architecture Group
Phone: +49 (721) 608-4056
Fax: +49 (721) 608-7664
eMail: [email protected]


> -----Original Message-----
> From: Mai, Haohui [mailto:[email protected]]
> Sent: Tuesday, December 22, 2009 5:18 PM
> To: Jan Stoess
> Subject: Re: Patch for apps/bench/pingpong
> 
> Oops. that's my bad, I thought the code should be 64bit..so I changed
> both the Makefile and the assembly to make it 64bit compatible.
> 
> Actually my binutils (2.20) complains about the ".ehframe"  is
> nonrelocatable, that's why I added f-no-exception.
> 
> Haohui
> 
> On 12/22/2009 08:12 AM, Jan Stoess wrote:
> > Hi Haohui,
> >
> > Thanks, help is greatly appreciated. A short set of quick questions: Which
> problems did you run into? Which compiler were you using? And, why do you
> want to  use -fPIC -fno-exception but not -m32 with the 32-bit part of
> pingpong/x64?
> >
> > BTW, I had tested gcc 4.4.0 for x64 a while ago and were running into
> different problems; so it seems gcc 4.4.x yields different issues for different
> values of x.
> >
> > -J
> >
> > --
> > Jan Stoess
> > KIT/UKa System Architecture Group
> > Phone: +49 (721) 608-4056
> > Fax: +49 (721) 608-7664
> > eMail: [email protected]
> >
> >
> >
> >> -----Original Message-----
> >> From: [email protected] [mailto:[email protected]
> >> karlsruhe.de] On Behalf Of Mai, Haohui
> >> Sent: Monday, December 21, 2009 11:59 PM
> >> To: [email protected]
> >> Subject: Patch for apps/bench/pingpong
> >>
> >> Hi all,
> >>
> >> I'm playing around with L4ka on a 64-bit machine.  It seems that the code
> is a
> >> little bit out of date, so I make a small fix so that it works correctly under
> gcc
> >> 4.4.  :-)
> >>
> >> Any comments are appreciated. Thanks.
> >>
> >> Cheers,
> >> Haohui
> >>