public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28695]  New: Problem compiling Gcc 4.1.1 on a 64 bit linux redhat kernel
@ 2006-08-11 11:47 f98faka at chalmers dot se
  2006-08-16  5:36 ` [Bug bootstrap/28695] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: f98faka at chalmers dot se @ 2006-08-11 11:47 UTC (permalink / raw)
  To: gcc-bugs

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 

ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-4.1.1

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.


-- 
           Summary: Problem compiling Gcc 4.1.1 on a 64 bit linux redhat
                    kernel
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: f98faka at chalmers dot se


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28695


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/28695] Problem compiling Gcc 4.1.1 on a 64 bit linux redhat kernel
  2006-08-11 11:47 [Bug c++/28695] New: Problem compiling Gcc 4.1.1 on a 64 bit linux redhat kernel f98faka at chalmers dot se
@ 2006-08-16  5:36 ` pinskia at gcc dot gnu dot org
  2006-08-16  9:13 ` f98faka at chalmers dot se
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-16  5:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-08-16 05:36 -------
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?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
          Component|c++                         |bootstrap


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28695


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/28695] Problem compiling Gcc 4.1.1 on a 64 bit linux redhat kernel
  2006-08-11 11:47 [Bug c++/28695] New: Problem compiling Gcc 4.1.1 on a 64 bit linux redhat kernel f98faka at chalmers dot se
  2006-08-16  5:36 ` [Bug bootstrap/28695] " pinskia at gcc dot gnu dot org
@ 2006-08-16  9:13 ` f98faka at chalmers dot se
  2006-08-21 13:34 ` ian dot cowan at atkinsglobal dot com
  2006-11-20  5:51 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: f98faka at chalmers dot se @ 2006-08-16  9:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from f98faka at chalmers dot se  2006-08-16 09:13 -------
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[2]: *** [makedepend] Error 1
make[2]: Leaving directory
`/chalmers/users/f98faka/OpenFOAM/linuxAMD64/gcc-4.1.1/host-x86_64-unknown-linux-gnu/libcpp'
make[1]: *** [all-libcpp] Error 2
make[1]: 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. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28695


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/28695] Problem compiling Gcc 4.1.1 on a 64 bit linux redhat kernel
  2006-08-11 11:47 [Bug c++/28695] New: Problem compiling Gcc 4.1.1 on a 64 bit linux redhat kernel f98faka at chalmers dot se
  2006-08-16  5:36 ` [Bug bootstrap/28695] " pinskia at gcc dot gnu dot org
  2006-08-16  9:13 ` f98faka at chalmers dot se
@ 2006-08-21 13:34 ` ian dot cowan at atkinsglobal dot com
  2006-11-20  5:51 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ian dot cowan at atkinsglobal dot com @ 2006-08-21 13:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ian dot cowan at atkinsglobal dot com  2006-08-21 13:34 -------
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).


-- 

ian dot cowan at atkinsglobal dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian dot cowan at
                   |                            |atkinsglobal dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28695


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/28695] Problem compiling Gcc 4.1.1 on a 64 bit linux redhat kernel
  2006-08-11 11:47 [Bug c++/28695] New: Problem compiling Gcc 4.1.1 on a 64 bit linux redhat kernel f98faka at chalmers dot se
                   ` (2 preceding siblings ...)
  2006-08-21 13:34 ` ian dot cowan at atkinsglobal dot com
@ 2006-11-20  5:51 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-20  5:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-11-20 05:51 -------
(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.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28695


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-11-20  5:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-11 11:47 [Bug c++/28695] New: Problem compiling Gcc 4.1.1 on a 64 bit linux redhat kernel f98faka at chalmers dot se
2006-08-16  5:36 ` [Bug bootstrap/28695] " pinskia at gcc dot gnu dot org
2006-08-16  9:13 ` f98faka at chalmers dot se
2006-08-21 13:34 ` ian dot cowan at atkinsglobal dot com
2006-11-20  5:51 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).