[Barrelfish-users] Compiling barrelfish without -O2?
Patrik Eklöf
peklof at kth.se
Fri Jun 15 13:46:13 CEST 2012
I can confirm that I got it working (finally)! :)
The patch was the last component I needed to make it work.
So, to sum up what I had to do:
Manually compile dispatch.c by changing -fno-omit-framepointer to -fomit-framepointer.
Apply libc patch.
Fix compile error in usr/skb/testapps/cryptotest.c by finding the "tmp = tmp;" line and initializing it to NULL. It might be possible to just remove the line, but I did not test that.
Regards,
Patrik Eklöf
Student at ICT, Master of Science in Engineering Education, IT Programme, KTH, Kista
________________________________________
From: Kornilios Kourtis [kornilios.kourtis at inf.ethz.ch]
Sent: Wednesday, June 13, 2012 13:21
To: barrelfish-users at lists.inf.ethz.ch
Subject: Re: [Barrelfish-users] Compiling barrelfish without -O2?
Hi Patrik/Andrew/all,
On Wed, Jun 13, 2012 at 02:29:18AM +0200, Baumann Andrew wrote:
> Did you try removing -O2 from cOptFlags in hake/Config.hs in your build
> directory, then re-running hake and doing a clean build?
>
> This definitely used to work. If it doesn't, it sounds like a
> regression that may have been introduced by the libc change.
I've looked a bit more on that and indeed it is a regression from the
libc change. I'm attaching a patch of this, which will be part of our
next release.
I wasn't able to reproduce the problem with dispatch.c, though.
cheers,
Kornilios.
--
Kornilios Kourtis
More information about the Barrelfish-users
mailing list