This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: Cygwin build error
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Shaun Jackman'" <sjackman at gmail dot com>
- Cc: <newlib at sources dot redhat dot com>
- Date: Fri, 28 Apr 2006 16:50:29 +0100
- Subject: RE: Cygwin build error
On 28 April 2006 16:44, Shaun Jackman wrote:
> On 4/28/06, Dave Korn <dave.korn@artimi.com> wrote:
>> On 28 April 2006 15:17, Shaun Jackman wrote:
>>
>>> On 4/28/06, Dave Korn <dave.korn@artimi> wrote:
>>>>> By piping the output to a file, I saw that the former value of CFLAGS is
>>>>> "-O2 -g -O2 " (two spaces), while the current value is "-O2 -g -O2 "
>>>>> (one space). This causes the comparison in libc/configure to fail.
>>>
>>> Aha! Somebody else has seen the bug that's been messing with me.
>>
>> It is, however, trivially fixed by blowing away your newlib build dir.
>
> I haven't found that is the case. I see this bug when compiling newlib
> from an absolutely clean unpacking of the source. It occurs due to
> multilibbing and affects the multilib directories after the first root
> (.) multilib.
>
> Cheers,
> Shaun
Oh, silly me, I forgot about multilib.
Then again, you probably want all the objects to be rebuilt in those circumstances, since surely *other* compiler flags are also changing, and make doesn't know that changing those effectively makes the object out-of-date, don't you?
None of which changes anything WRT the fact that it would be better for the superfluous whitespace to be stripped.
cheers,
DaveK
--
Can't think of a witty .sigline today....