bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debian GNU/Hurd: error building hurd binaries without compiler opti


From: computer.enthusiastic
Subject: Re: Debian GNU/Hurd: error building hurd binaries without compiler optimization option
Date: Wed, 16 Sep 2009 22:26:59 +0200

Hi Samuel,

2009/9/15 Samuel Thibault <samuel.thibault@gnu.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.

Samuel

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.

 Aki


reply via email to

[Prev in Thread] Current Thread [Next in Thread]