This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: configure error: linker with -z relro support required
On 8/23/2011 8:53 AM, Jeff Liu wrote:
> Oops!
>
> unlucky, although configure procedure works fine for me, but make still failed due to the following issue:
>
> ../sysdeps/i386/fpu/s_frexp.S: Assembler messages:
> ../sysdeps/i386/fpu/s_frexp.S:66: Error: invalid identifier for ".ifdef"
> ../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
> ../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
> ../sysdeps/i386/fpu/s_frexp.S:66: Error: Missing symbol name in directive
> ../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
> ../sysdeps/i386/fpu/s_frexp.S:66: Error: Missing symbol name in directive
> ../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `.'
> ../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
> ../sysdeps/i386/fpu/s_frexp.S:66: Error: expected comma after name `' in .size directive
> ../sysdeps/i386/fpu/s_frexp.S:66: Error: ".endif" without ".if"
> ../sysdeps/i386/fpu/s_frexp.S:66: Error: junk `.get_pc_thunk.dx' after expression
> make[2]: *** [/home/jeff/gnu/glibc/build/math/s_frexp.os] Error 1
> make[2]: Leaving directory `/home/jeff/gnu/glibc/math'
> make[1]: *** [math/subdir_lib] Error 2
> make[1]: Leaving directory `/home/jeff/gnu/glibc'
> make: *** [all] Error 2
>
> Am I missing something here? Any more compile env I need to post?
Yes, this is the now classic i686 compiler define problem.
You need patches similar to this:
http://sourceware.org/ml/libc-alpha/2006-04/msg00090.html
Or stop using --with-arch.
Cheers,
Carlos.