glibc 2.12.1 will not compile on Ubuntu 10.10

J. Random Coder jrandomcoder@gmail.com
Mon Oct 18 04:35:00 GMT 2010


I have a fresh installation of Ubuntu 10.10. (GCC 4.5.1, binutils
2.20.51.20100908-0ubuntu2). Glibc will not compile, choosing instead
to puke out the following errors:

---------
../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]: *** [/usr/src/glibc-2.12.1/build/math/s_frexp.os] Error 1
make[2]: Leaving directory `/usr/src/glibc-2.12.1/math'
make[1]: *** [math/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/glibc-2.12.1'
make: *** [all] Error 2
---------

Googling these error messages, I find that most hits seem to be
referring to this problem as being something caused by cross
compiling; however, I am NOT cross compiling at all. I simply run
../configure --prefix=/ from my build dir, then go 'make', and this
happens. Bam.

Again, I am trying to compile glibc for i686 on i686. This is not a
cross-compiling situation at all.

Any information anyone could provide towards helping me resolve this
problem would be very much appreciated.



More information about the Libc-help mailing list