User account creation filtered due to spam.
I'm running linux redhat, kernel 2.6.9-34.0.1.ELsmp, duel processor AMD Opteron 250. It's on a cluster where I only have write-rights in my user library and thus need to compile my own version of gcc.
I downloaded gcc from
I unpacked and altered configure file value: ac_default_prefix to the directory where I wanted it to be (in this case the same as the one where sources were). I also tried default value for ac_default_prefix, but it produces the same error. Running ./configure worked ok, then when i did "make" I got:
/tmp/cc9Ery9d.s: Assembler messages:
/tmp/cc9Ery9d.s:34: Error: suffix or operands invalid for `push'
/tmp/cc9Ery9d.s:36: Error: suffix or operands invalid for `push'
/tmp/cc9Ery9d.s:38: Internal error, aborting at ../../gas/config/tc-i386.c line 3501 in output_imm
Please report this bug.
I can't do a -save-temp since I only run 'make'. It feels like I haven't given you much information, but I'm not sure what else to give you.
Can you first configure in a different object directory?
Second can you try using "make bootstrap" instead of make?
Third can you paste the command that failed?
I tried changing the ax_default_prefix directory, but it didn't help. I tried using make bootstrap instead of make and got
libcpp.a(charset.o)(.text+0x2e): In function `convert_utf8_utf16':
: undefined reference to `one_utf8_to_utf16'
libcpp.a(charset.o)(.text+0x1bd): In function `convert_utf8_utf32':
: undefined reference to `one_utf8_to_utf32'
libcpp.a(charset.o)(.text+0x1f9): In function `convert_utf16_utf8':
: undefined reference to `one_utf16_to_utf8'
libcpp.a(charset.o)(.text+0x235): In function `convert_utf32_utf8':
: undefined reference to `one_utf32_to_utf8'
collect2: ld returned 1 exit status
make: *** [makedepend] Error 1
make: Leaving directory `/chalmers/users/f98faka/OpenFOAM/linuxAMD64/gcc-4.1.1/host-x86_64-unknown-linux-gnu/libcpp'
make: *** [all-libcpp] Error 2
make: Leaving directory `/chalmers/users/f98faka/OpenFOAM/linuxAMD64/gcc-4.1.1'
make: *** [all] Error 2
The comand that failed before was make, but unfortunately I cannot reproduce the error now, I just get the error previously pasted. Sorry if I've wasted your time.
I also have the same problem with "gmake bootstrap", with my opteron based RHEL systems (kernels 2.4.21-20.ELsmp and 2.6.9-11.ELsmp).
(In reply to comment #2)
> I tried changing the ax_default_prefix directory, but it didn't help. I tried
> using make bootstrap instead of make and got
That issue is a bug in the kernel headers and is hard to fix in GCC.
Anyways I have been able to build 4.1.1 on a x86_64 machine just fine.