[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debian GNU/Hurd: error building hurd binaries without compiler opti
Re: Debian GNU/Hurd: error building hurd binaries without compiler optimization option
Wed, 16 Sep 2009 22:26:59 +0200
2009/9/15 Samuel Thibault <firstname.lastname@example.org>
It is local to the libpthread/ directory. In principle it should work
thanks to the _FORCE_INLINES define that makes
libpthread/sysdeps/i386/bits/spin-lock-inline.h always provide the
inlines but apparently it doesn't. Could be worth checking why.
Thanks for your suggestions, I'll try to delve into it to understand if I can fix it. Any further advice will be very appreciated, of course ;-) Have you tried to replicate this error on your hurd installation ?
Another interesting clue is that the gcc error *ONLY* occurs when the -O2 compiler option is omitted from the ./configure file and, this way, from the main Makefile. In other words, this error seems not to interfere with the standard package building. But, it makes life harder to people interested in hurd debugging.
The (I hope!) temporary workaround that I have found is to build all the hurd binaries using the default ./configure and Makefile, then to remove the optimization option from the ./Makeconf file and, in the end, to run the make command only in the directories whose binaries I'm interested in. It's a little bit tricky, but I works with some directories.