help-make
[Top][All Lists]
Advanced

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

Re: Weird make error (problem identified, work around provided)


From: david . hagood
Subject: Re: Weird make error (problem identified, work around provided)
Date: Tue, 21 Feb 2012 11:48:30 -0600
User-agent: SquirrelMail/1.4.21

Well, it took some time to run down, as it really only showed up on a
pretty severe test case (building binutils, gcc, glibc and a few other
tools), but what I found is that the problem is in make V3.81 - if I use
make 3.82 to do the build, the error does not show.

I'm guessing that the error is a buffer overflow or a bad memory access
during the expansion of the variables in the make command line, corrupting
the command line fed to sed to create the linker script.

Just to help make this Google-able:

If, while building glibc, you get error messages of the form

shlib.lds:<line number>: syntax error

and shlib.lds contains a line like this:

 PROVIDE(__start__es : {subfreeres = .);\

and you see make passing the following to sed during the build:

 -e 'address@hidden(\.jcr).*$@& \
                 PROVIDE(__start__es : {subfreeres = .);\
                 __libc_subfreeres : { *(__libc_subfreeres) }\

THEN check what version of MAKE you are using, and if you are using make
3.81, try using 3.82.






reply via email to

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