* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
@ 2006-09-12 23:53 ` WISD00M at GMX dot NET
2006-09-12 23:53 ` pinskia at gcc dot gnu dot org
` (29 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-12 23:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from WISD00M at GMX dot NET 2006-09-12 23:53 -------
Created an attachment (id=12238)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12238&action=view)
config.cache created by running ./configure w/o any flags
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
2006-09-12 23:53 ` [Bug other/29049] " WISD00M at GMX dot NET
@ 2006-09-12 23:53 ` pinskia at gcc dot gnu dot org
2006-09-12 23:54 ` WISD00M at GMX dot NET
` (28 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-12 23:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-12 23:53 -------
I was able to compile 20060909 on i686-linux-gnu just fine.
How did you configure GCC?
Did you build in the src directory?
How did you invoke make to build GCC?
What is the output of ./config.guess in the source directory?
What is the output of uname -a?
Do you have any environment variable set that could effect GCC?
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
2006-09-12 23:53 ` [Bug other/29049] " WISD00M at GMX dot NET
2006-09-12 23:53 ` pinskia at gcc dot gnu dot org
@ 2006-09-12 23:54 ` WISD00M at GMX dot NET
2006-09-12 23:54 ` WISD00M at GMX dot NET
` (27 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-12 23:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from WISD00M at GMX dot NET 2006-09-12 23:54 -------
Created an attachment (id=12240)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12240&action=view)
config.status as created by configure
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (2 preceding siblings ...)
2006-09-12 23:54 ` WISD00M at GMX dot NET
@ 2006-09-12 23:54 ` WISD00M at GMX dot NET
2006-09-12 23:55 ` WISD00M at GMX dot NET
` (26 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-12 23:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from WISD00M at GMX dot NET 2006-09-12 23:54 -------
Created an attachment (id=12239)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12239&action=view)
config.log as created by configure
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (3 preceding siblings ...)
2006-09-12 23:54 ` WISD00M at GMX dot NET
@ 2006-09-12 23:55 ` WISD00M at GMX dot NET
2006-09-12 23:56 ` WISD00M at GMX dot NET
` (25 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-12 23:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from WISD00M at GMX dot NET 2006-09-12 23:55 -------
Created an attachment (id=12241)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12241&action=view)
toplevel Makefile created by configure
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (4 preceding siblings ...)
2006-09-12 23:55 ` WISD00M at GMX dot NET
@ 2006-09-12 23:56 ` WISD00M at GMX dot NET
2006-09-12 23:57 ` WISD00M at GMX dot NET
` (24 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-12 23:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from WISD00M at GMX dot NET 2006-09-12 23:56 -------
Created an attachment (id=12242)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12242&action=view)
Makefile from gcc sub folder as created by configure
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (5 preceding siblings ...)
2006-09-12 23:56 ` WISD00M at GMX dot NET
@ 2006-09-12 23:57 ` WISD00M at GMX dot NET
2006-09-12 23:58 ` WISD00M at GMX dot NET
` (23 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-12 23:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from WISD00M at GMX dot NET 2006-09-12 23:57 -------
Created an attachment (id=12243)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12243&action=view)
complete log from running make using "-d" debug switch
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (6 preceding siblings ...)
2006-09-12 23:57 ` WISD00M at GMX dot NET
@ 2006-09-12 23:58 ` WISD00M at GMX dot NET
2006-09-13 0:10 ` WISD00M at GMX dot NET
` (22 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-12 23:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from WISD00M at GMX dot NET 2006-09-12 23:58 -------
Created an attachment (id=12244)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12244&action=view)
last hundred lines of the complete Makefile log w/ debug output
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (7 preceding siblings ...)
2006-09-12 23:58 ` WISD00M at GMX dot NET
@ 2006-09-13 0:10 ` WISD00M at GMX dot NET
2006-09-13 0:12 ` WISD00M at GMX dot NET
` (21 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-13 0:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from WISD00M at GMX dot NET 2006-09-13 00:09 -------
> I was able to compile 20060909 on i686-linux-gnu just fine.
so was I, but not on a SMP (multi-processor) machine
> How did you configure GCC?
as I mentioned in the original report, I didn't use any configure whatsoever
originally
> Did you build in the src directory?
as mentioned already, I did try both: inside the src directory as well as
outside in separate folders
> How did you invoke make to build GCC?
as mentioned, I invoked it "plain", that is without any parameters. When that
didn't work, I tried various approaches, among others a parallel build, as well
as finally the one that contained the "-d" switch to provide the debug output
that I attached.
> What is the output of ./config.guess in the source directory?
"i686-pc-linux-gnu"
> What is the output of uname -a?
"Linux syssiphus 2.6.17.4 #1 SMP PREEMPT Mon Sep 11 14:42:28 CEST 2006 i686
unknown"
> Do you have any environment variable set that could effect GCC?
not that I am aware of, certainly not the usual stuff (CFLAGS, CXXFLAGS,
LDFLAGS etc)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (8 preceding siblings ...)
2006-09-13 0:10 ` WISD00M at GMX dot NET
@ 2006-09-13 0:12 ` WISD00M at GMX dot NET
2006-09-13 0:14 ` WISD00M at GMX dot NET
` (20 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-13 0:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from WISD00M at GMX dot NET 2006-09-13 00:12 -------
> > How did you configure GCC?
> as I mentioned in the original report, I didn't use any configure whatsoever
originally
Just for clarification: I missed to write "configure flags", of course I DID
use configure!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (9 preceding siblings ...)
2006-09-13 0:12 ` WISD00M at GMX dot NET
@ 2006-09-13 0:14 ` WISD00M at GMX dot NET
2006-09-13 0:24 ` WISD00M at GMX dot NET
` (19 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-13 0:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from WISD00M at GMX dot NET 2006-09-13 00:14 -------
Created an attachment (id=12245)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12245&action=view)
environment variables as requested
these are the environment variables that are set in bash for the root user
currently
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (10 preceding siblings ...)
2006-09-13 0:14 ` WISD00M at GMX dot NET
@ 2006-09-13 0:24 ` WISD00M at GMX dot NET
2006-09-13 0:27 ` pinskia at gcc dot gnu dot org
` (18 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-13 0:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from WISD00M at GMX dot NET 2006-09-13 00:24 -------
> > I was able to compile 20060909 on i686-linux-gnu just fine.
> so was I, but not on a SMP (multi-processor) machine
Just to summarize my original and somewhat lengthy reply: I have come to the
assumption that the SMP availability somewhow makes the build assume a 64bit
target, which in turn makes some intermediately created bootstrap executables
(such as cc1) expect a 64bit target by default, which results in the make
failing due to the ommission of the then required "-m32" switch. Nonetheless,
specifying this switch manually (directly in the Makefile), does only solve
part of the problem, as other targets would still fail later on.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (11 preceding siblings ...)
2006-09-13 0:24 ` WISD00M at GMX dot NET
@ 2006-09-13 0:27 ` pinskia at gcc dot gnu dot org
2006-09-13 0:30 ` WISD00M at GMX dot NET
` (17 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-13 0:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from pinskia at gcc dot gnu dot org 2006-09-13 00:27 -------
(In reply to comment #12)
No it does not. Are you sure you don't have some bad hardware?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (12 preceding siblings ...)
2006-09-13 0:27 ` pinskia at gcc dot gnu dot org
@ 2006-09-13 0:30 ` WISD00M at GMX dot NET
2006-09-13 0:36 ` WISD00M at GMX dot NET
` (16 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-13 0:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from WISD00M at GMX dot NET 2006-09-13 00:30 -------
Sorry, I just realized that I somehow managed to forget to post the actual
error and warning messages:
/root/tmp/plain/./gcc/xgcc -B/root/tmp/plain/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -msse -c \
../../gcc-4.2-20060906/gcc/config/i386/crtfastmath.c \
-o crtfastmath.o
../../gcc-4.2-20060906/gcc/config/i386/crtfastmath.c:1: sorry, unimplemented:
64-bit mode not compiled in
:0: sorry, unimplemented: 64-bit mode not compiled in
/bin/sh ../../gcc-4.2-20060906/gcc/../move-if-change tmp-macro_list macro_list
../../gcc-4.2-20060906/gcc/config/i386/crtfastmath.c: In function
'set_fast_math':
../../gcc-4.2-20060906/gcc/config/i386/crtfastmath.c:77: warning: implicit
declaration of function '__builtin_ia32_stmxcsr'
echo timestamp > s-macro_list
../../gcc-4.2-20060906/gcc/config/i386/crtfastmath.c:109: warning: implicit
declaration of function '__builtin_ia32_ldmxcsr'
make[3]: *** [crtfastmath.o] Error 1
the error about the missing 64 bit support is exactly what I get for all the
crt related files.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (13 preceding siblings ...)
2006-09-13 0:30 ` WISD00M at GMX dot NET
@ 2006-09-13 0:36 ` WISD00M at GMX dot NET
2006-09-13 0:44 ` WISD00M at GMX dot NET
` (15 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-13 0:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from WISD00M at GMX dot NET 2006-09-13 00:36 -------
> No it does not.
Well, as I said: it's just an assumption-for the lack of a better explanation
right now.
>Are you sure you don't have some bad hardware?
well, define "bad hardware"-the system works without any problems whatsoever,
no crashes, no performance issues, no nothing.
In fact, it does compile other software without any problems, too-it even
compiled gcc 4.01.
So, I have really no reason to believe that this is due to some sort of
hardware issue. Neither do I believe this to be some sort of gcc-internal bug.
Rather, I have come to believe that somewhere along the build process (for
whatever reason), gcc 4.2 is made believe that it should assume 64bit as
default target platform. Otherwise, I'm really not sure why it would create an
cc1 executable that terminates immediatley with the aforementioned error, when
it's started without the "-m32" flag.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (14 preceding siblings ...)
2006-09-13 0:36 ` WISD00M at GMX dot NET
@ 2006-09-13 0:44 ` WISD00M at GMX dot NET
2006-09-13 0:51 ` WISD00M at GMX dot NET
` (14 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-13 0:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from WISD00M at GMX dot NET 2006-09-13 00:44 -------
Also, with regards to "bad hardware": this is a multiprocessor server system
that's in use every day, it's got numerous inbuilt hardware failure-detection
mechanisms, so as soon as there's a CPU, memory or hard disk problem, the admin
(me) gets notified immediatley. And there are clearly not any warnings at all.
So, given all these self-tests (that even take almost ~5 minutes before the
actual system really boots up) I should actually be able to be reasonably sure
that this is no hardware problem at all.
You said you were able to build it on i686-linux-gnu, was this also an SMP
machine? I am really more than willing to take into consideration that this is
a local (software) problem (i.e. due to parts of the GNU toolchain being
outdated or whatever), nonetheless the previously mentioned google findings
suggest that it isn't a totally isolated issue at all.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (15 preceding siblings ...)
2006-09-13 0:44 ` WISD00M at GMX dot NET
@ 2006-09-13 0:51 ` WISD00M at GMX dot NET
2006-09-13 0:57 ` joseph at codesourcery dot com
` (13 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-13 0:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from WISD00M at GMX dot NET 2006-09-13 00:51 -------
> No it does not. Are you sure you don't have some bad hardware?
Just to summarize everything again: the "hardware" problem you anticipate would
then vanish partially when providing the "-m32" switch to xgcc/cc1 directly (or
by editing the Makefile)?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (16 preceding siblings ...)
2006-09-13 0:51 ` WISD00M at GMX dot NET
@ 2006-09-13 0:57 ` joseph at codesourcery dot com
2006-09-13 1:11 ` WISD00M at GMX dot NET
` (12 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: joseph at codesourcery dot com @ 2006-09-13 0:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from joseph at codesourcery dot com 2006-09-13 00:56 -------
Subject: Re: New: possible problem: building gcc >= 4.2
on i686 GNU/Linux|SMP (non-64bit) platform fails
On Tue, 12 Sep 2006, WISD00M at GMX dot NET wrote:
> ./xgcc -B./ -B/usr/local/i686-pc-linux-gnu/bin/ -isystem
> /usr/local/i686-pc-linux-gnu/include -isystem
> /usr/local/i686-pc-linux-gnu/sys-include -L/root/gcc-build/gcc/../ld -O2
> -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wold-style-definition -isystem ./include -I. -I.
> -I../../gcc-4.2-20060906/gcc -I../../gcc-4.2-20060906/gcc/.
> -I../../gcc-4.2-20060906/gcc/../include
> -I../../gcc-4.2-20060906/gcc/../libcpp/include
> -I../../gcc-4.2-20060906/gcc/../libdecnumber -I../libdecnumber -g0
> -finhibit-size-directive -fno-inline-functions -fno-exceptions
> -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-omit-frame-pointer \
> -c ../../gcc-4.2-20060906/gcc/crtstuff.c -DCRT_BEGIN \
> -o crtbegin.o
If you rerun this manually with -v added to the compiler options, what is
the full output?
What are the contents of configargs.h in the gcc build directory?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (17 preceding siblings ...)
2006-09-13 0:57 ` joseph at codesourcery dot com
@ 2006-09-13 1:11 ` WISD00M at GMX dot NET
2006-09-13 1:11 ` WISD00M at GMX dot NET
` (11 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-13 1:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #20 from WISD00M at GMX dot NET 2006-09-13 01:11 -------
I'm sorry, I obviously messed up the first translation unit that fails in my
original posting (the error that I posted was already a later error, when I had
adjusted the Makefile already). So, from a (FRESH) tarball extract, it's:
./xgcc -B./ -B/usr/local/i686-pc-linux-gnu/bin/ -isystem
/usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -L/root/tmp/plain/gcc/../ld -O2
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -I. -I.
-I../../gcc-4.2-20060906/gcc -I../../gcc-4.2-20060906/gcc/.
-I../../gcc-4.2-20060906/gcc/../include
-I../../gcc-4.2-20060906/gcc/../libcpp/include
-I../../gcc-4.2-20060906/gcc/../libdecnumber -I../libdecnumber -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-omit-frame-pointer \
-c ../../gcc-4.2-20060906/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
../../gcc-4.2-20060906/gcc/crtstuff.c:1: sorry, unimplemented: 64-bit mode not
compiled in
make: *** [crtbegin.o] Error 1
Thus, I assume that you are mainly interested in seeing the verbose output of
this (if you still want the output of the other one, just tell me), it's:
Reading specs from ./specs
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.2-20060906/configure
Thread model: posix
gcc version 4.2.0 20060906 (experimental)
./cc1 -quiet -v -I. -I. -I../../gcc-4.2-20060906/gcc
-I../../gcc-4.2-20060906/gcc/. -I../../gcc-4.2-20060906/gcc/../include
-I../../gcc-4.2-20060906/gcc/../libcpp/include
-I../../gcc-4.2-20060906/gcc/../libdecnumber -I../libdecnumber -iprefix
/root/tmp/plain/gcc/../lib/gcc/i686-pc-linux-gnu/4.2.0/ -isystem ./include
-DIN_GCC -DCRT_BEGIN -isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -isystem ./include
../../gcc-4.2-20060906/gcc/crtstuff.c -quiet -dumpbase crtstuff.c
-mtune=generic -auxbase-strip crtbegin.o -g0 -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -version
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-omit-frame-pointer -o
/tmp/ccwWA3rj.s
ignoring duplicate directory "./include"
ignoring nonexistent directory
"/root/tmp/plain/gcc/../lib/gcc/i686-pc-linux-gnu/4.2.0/include"
ignoring nonexistent directory
"/root/tmp/plain/gcc/../lib/gcc/i686-pc-linux-gnu/4.2.0/../../../../i686-pc-linux-gnu/include"
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory
"/usr/local/lib/gcc/i686-pc-linux-gnu/4.2.0/include"
ignoring duplicate directory
"/usr/local/lib/gcc/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/include"
ignoring duplicate directory "."
ignoring duplicate directory "../../gcc-4.2-20060906/gcc/."
#include "..." search starts here:
#include <...> search starts here:
.
../../gcc-4.2-20060906/gcc
../../gcc-4.2-20060906/gcc/../include
../../gcc-4.2-20060906/gcc/../libcpp/include
../../gcc-4.2-20060906/gcc/../libdecnumber
../libdecnumber
./include
/usr/local/i686-pc-linux-gnu/include
/usr/local/i686-pc-linux-gnu/sys-include
/usr/local/include
/usr/include
End of search list.
../../gcc-4.2-20060906/gcc/crtstuff.c:1: sorry, unimplemented: 64-bit mode not
compiled in
GNU C version 4.2.0 20060906 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 4.0.1.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 0af382d0d476753fb032764518b91e16
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (18 preceding siblings ...)
2006-09-13 1:11 ` WISD00M at GMX dot NET
@ 2006-09-13 1:11 ` WISD00M at GMX dot NET
2006-09-13 1:16 ` WISD00M at GMX dot NET
` (10 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-13 1:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #19 from WISD00M at GMX dot NET 2006-09-13 01:10 -------
Created an attachment (id=12246)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12246&action=view)
the complete configargs.h file from the build gcc sub directory
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (19 preceding siblings ...)
2006-09-13 1:11 ` WISD00M at GMX dot NET
@ 2006-09-13 1:16 ` WISD00M at GMX dot NET
2006-09-13 2:56 ` hjl at lucon dot org
` (9 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-13 1:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #21 from WISD00M at GMX dot NET 2006-09-13 01:16 -------
Just for your info, when I now (again) MANUALLY ADD "-m32" to the parameter
list, everything works again as expected:
Reading specs from ./specs
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.2-20060906/configure
Thread model: posix
gcc version 4.2.0 20060906 (experimental)
./cc1 -quiet -v -I. -I. -I../../gcc-4.2-20060906/gcc
-I../../gcc-4.2-20060906/gcc/. -I../../gcc-4.2-20060906/gcc/../include
-I../../gcc-4.2-20060906/gcc/../libcpp/include
-I../../gcc-4.2-20060906/gcc/../libdecnumber -I../libdecnumber -iprefix
/root/tmp/plain/gcc/../lib/gcc/i686-pc-linux-gnu/4.2.0/ -isystem ./include
-DIN_GCC -DCRT_BEGIN -isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -isystem ./include
../../gcc-4.2-20060906/gcc/crtstuff.c -quiet -dumpbase crtstuff.c -m32
-mtune=generic -auxbase-strip crtbegin.o -g0 -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -version
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-omit-frame-pointer -o
/tmp/ccUA8Kid.s
ignoring duplicate directory "./include"
ignoring nonexistent directory
"/root/tmp/plain/gcc/../lib/gcc/i686-pc-linux-gnu/4.2.0/include"
ignoring nonexistent directory
"/root/tmp/plain/gcc/../lib/gcc/i686-pc-linux-gnu/4.2.0/../../../../i686-pc-linux-gnu/include"
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory
"/usr/local/lib/gcc/i686-pc-linux-gnu/4.2.0/include"
ignoring duplicate directory
"/usr/local/lib/gcc/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/include"
ignoring duplicate directory "."
ignoring duplicate directory "../../gcc-4.2-20060906/gcc/."
#include "..." search starts here:
#include <...> search starts here:
.
../../gcc-4.2-20060906/gcc
../../gcc-4.2-20060906/gcc/../include
../../gcc-4.2-20060906/gcc/../libcpp/include
../../gcc-4.2-20060906/gcc/../libdecnumber
../libdecnumber
./include
/usr/local/i686-pc-linux-gnu/include
/usr/local/i686-pc-linux-gnu/sys-include
/usr/local/include
/usr/include
End of search list.
GNU C version 4.2.0 20060906 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 4.0.1.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 0af382d0d476753fb032764518b91e16
./as -V -Qy -o crtbegin.o /tmp/ccUA8Kid.s
GNU assembler version 2.17 (i686-pc-linux-gnu) using BFD version 2.17
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (20 preceding siblings ...)
2006-09-13 1:16 ` WISD00M at GMX dot NET
@ 2006-09-13 2:56 ` hjl at lucon dot org
2006-09-13 3:16 ` WISD00M at GMX dot NET
` (8 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: hjl at lucon dot org @ 2006-09-13 2:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #22 from hjl at lucon dot org 2006-09-13 02:56 -------
I only saw this with gcc plus the biarch patch. I have no problem with building
gcc 4.2 on Linux/x86 SMP machines.
--
hjl at lucon dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl at lucon dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (21 preceding siblings ...)
2006-09-13 2:56 ` hjl at lucon dot org
@ 2006-09-13 3:16 ` WISD00M at GMX dot NET
2006-09-13 3:24 ` WISD00M at GMX dot NET
` (7 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-13 3:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #23 from WISD00M at GMX dot NET 2006-09-13 03:16 -------
(In reply to comment #22)
> I only saw this with gcc plus the biarch patch.
what exactly is "this", could you be more specific?
did you see the VERY SAME type of error/warnings while trying to build?
and NO: this is an vanilla/unpatched gcc tarball obtained from a gcc mirror
(md5sum: d2b9fc8e612a003be9d490b78b128ae9 gcc-core-4.2-20060906.tar.bz2)
> I have no problem with building gcc 4.2 on Linux/x86 SMP machines.
what is x86 in your case? i486,i586,i686,i786?
what's your kernel version?
The problem I encountered seems CURRENTLY specific to i686/SMP, at least this
is where it's sort of documented that what I experienced here, happened before
(see: http://www.gatago.com/gnu/gcc/help/24669804.html )
Also, trying a compilation of a fresh source tree using:
export mytarget="i686-pc-linux-gnu" && ./configure --target=$mytarget
--build=$mytarget --host=$mytarget
did result in the same error, at the same point.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (22 preceding siblings ...)
2006-09-13 3:16 ` WISD00M at GMX dot NET
@ 2006-09-13 3:24 ` WISD00M at GMX dot NET
2006-09-13 5:02 ` WISD00M at GMX dot NET
` (6 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-13 3:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #24 from WISD00M at GMX dot NET 2006-09-13 03:24 -------
weird enough, when configuring target/host/build all set to
"i586-pc-linux-gnu", the whole make process still cancels at the same point,
even though the 64 bit stuff should theoretically not even be touched at
all(?).
thus, I currently assume that this is somehow related to undocumented/unchecked
prerequisites/dependencies not being checked properly-so that gcc is attempted
to built even though a dependency isn't satisfied, is there anywhere a list of
minimum requirements for building gcc 4.2, so that I can check whether (and
what) I should update if necessary?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (23 preceding siblings ...)
2006-09-13 3:24 ` WISD00M at GMX dot NET
@ 2006-09-13 5:02 ` WISD00M at GMX dot NET
2006-09-13 5:46 ` hjl at lucon dot org
` (5 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-13 5:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #25 from WISD00M at GMX dot NET 2006-09-13 05:02 -------
Just for your info: I just tried to compile the two previous official releases
on the same machine to troubleshoot this issue further (using no configure/make
flags WHATSOEVER, building in a separate build directory in both cases):
gcc 4.0.3 (347231730fb44b609b69226c3e432d80 gcc-core-4.0.3.tar.bz2) and
gcc 4.1.0 (15efa164579c7cf4a48859ee87d2a1fa gcc-core-4.1.0.tar.bz2)
(both obtained from gcc mirrors)
While I did succeed compiling gcc 4.0.3 on the same machine (after however
applying the patch mentioned in bug 27023 due to a too recent GNU make
version), compiling gcc 4.1.0 DID indeed cancel at the same point as the two
later releases did:
/root/tmp/gcc-4.1.0/gcc-4.1.0-BUILD/./gcc/xgcc
-B/root/tmp/gcc-4.1.0/gcc-4.1.0-BUILD/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -I. -I. -I../../gcc-4.1.0/gcc -I../../gcc-4.1.0/gcc/.
-I../../gcc-4.1.0/gcc/../include -I../../gcc-4.1.0/gcc/../libcpp/include -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \
-c ../../gcc-4.1.0/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
../../gcc-4.1.0/gcc/crtstuff.c:1: sorry, unimplemented: 64-bit mode not
compiled in
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/root/tmp/gcc-4.1.0/gcc-4.1.0-BUILD/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/root/tmp/gcc-4.1.0/gcc-4.1.0-BUILD'
make: *** [all] Error 2
So, the cause for this really seems to have crept in somewhere in between 4.0.3
and 4.1.0, thus I ask anybody in the know: were there any additional
dependencies (or default assumptions) introduced in either the underlying build
system or alternatively the xgcc/cc1 files during that time line that could
explain the behaviour I'm seeing here?
Thanks for any further pointers
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (24 preceding siblings ...)
2006-09-13 5:02 ` WISD00M at GMX dot NET
@ 2006-09-13 5:46 ` hjl at lucon dot org
2006-09-13 6:20 ` WISD00M at GMX dot NET
` (4 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: hjl at lucon dot org @ 2006-09-13 5:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #26 from hjl at lucon dot org 2006-09-13 05:46 -------
I have a dual Northwood with HT. I am running 2.6.9 kernel from RHEL 4 U4. Can
you show me the output of
# uname -a
# cat /proc/cpuinfo
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (25 preceding siblings ...)
2006-09-13 5:46 ` hjl at lucon dot org
@ 2006-09-13 6:20 ` WISD00M at GMX dot NET
2006-09-13 15:03 ` hjl at lucon dot org
` (3 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: WISD00M at GMX dot NET @ 2006-09-13 6:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #27 from WISD00M at GMX dot NET 2006-09-13 06:19 -------
(In reply to comment #26)
> # uname -a
as previously mentioned (comment #9), it's: "Linux syssiphus 2.6.17.4 #1 SMP
PREEMPT Mon Sep 11 14:42:28 CEST 2006 i686 unknown"
> # cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 3
cpu MHz : 450.080
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr
bogomips : 901.73
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 3
cpu MHz : 450.080
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr
bogomips : 900.09
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 3
cpu MHz : 450.080
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr
bogomips : 901.13
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 3
cpu MHz : 450.080
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr
bogomips : 902.21
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (26 preceding siblings ...)
2006-09-13 6:20 ` WISD00M at GMX dot NET
@ 2006-09-13 15:03 ` hjl at lucon dot org
2006-10-24 8:19 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
30 siblings, 0 replies; 32+ messages in thread
From: hjl at lucon dot org @ 2006-09-13 15:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #28 from hjl at lucon dot org 2006-09-13 15:03 -------
Apparently, your target_flags sets MASK_64BIT. You need to run gdb on cc1 and
set hardware watchpoint on target_flags to see where it sets MASK_64BIT:
[hjl@gnu-3 gcc]$ touch x.i
[hjl@gnu-3 gcc]$ gdb cc1
GNU gdb 6.4.50.20060406-cvs
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".
Breakpoint 1 at 0x8138b96: file ../../gcc/diagnostic.c, line 602.
Breakpoint 2 at 0x8138b43: file ../../gcc/diagnostic.c, line 547.
Function "exit" not defined.
Function "abort" not defined.
(gdb) watch target_flags
Hardware watchpoint 3: target_flags
(gdb) r -fpreprocessed x.i -quiet -dumpbase x.i -mtune=pentiumpro -auxbase x
-version -o x.s
Starting program: /export/gnu/import/gcc-4.1.0/build/gcc/cc1 -fpreprocessed x.i
-quiet -dumpbase x.i -mtune=pentiumpro -auxbase x -version -o x.s
Hardware watchpoint 3: target_flags
Hardware watchpoint 3: target_flags
Hardware watchpoint 3: target_flags
Old value = 0
New value = 8388808
decode_options (argc=12, argv=0xbff24ef4) at ../../gcc/opts.c:634
634 flag_unwind_tables = targetm.unwind_tables_default;
(gdb) c
Continuing.
During symbol reading, incomplete CFI data; unspecified registers (e.g., eax)
at 0x828dfc3.
During symbol reading, incomplete CFI data; unspecified registers (e.g., ecx)
at 0x828dfc3.
During symbol reading, incomplete CFI data; unspecified registers (e.g., edx)
at 0x828dfc3.
During symbol reading, incomplete CFI data; unspecified registers (e.g., eax)
at 0x830f53c.
During symbol reading, incomplete CFI data; unspecified registers (e.g., ecx)
at 0x830f53c.
During symbol reading, incomplete CFI data; unspecified registers (e.g., edx)
at 0x830f53c.
Hardware watchpoint 3: target_flags
Old value = 8388808
New value = 8405192
override_options () at ../../gcc/config/i386/i386.c:1614
1614 if (TARGET_SSEREGPARM
(gdb) c
Continuing.
During symbol reading, incomplete CFI data; unspecified registers (e.g., eax)
at 0x830f53c.
During symbol reading, incomplete CFI data; unspecified registers (e.g., ecx)
at 0x830f53c.
During symbol reading, incomplete CFI data; unspecified registers (e.g., edx)
at 0x830f53c.
Hardware watchpoint 3: target_flags
Old value = 8405192
New value = 8405208
override_options () at ../../gcc/config/i386/i386.c:1667
1667 if ((flag_unwind_tables || flag_asynchronous_unwind_tables
(gdb) c
Continuing.
During symbol reading, incomplete CFI data; unspecified registers (e.g., eax)
at 0x830f53c.
During symbol reading, incomplete CFI data; unspecified registers (e.g., ecx)
at 0x830f53c.
During symbol reading, incomplete CFI data; unspecified registers (e.g., edx)
at 0x830f53c.
GNU C version 4.1.0 (i686-pc-linux-gnu)
compiled by GNU C version 3.4.6 20060404 (Red Hat 3.4.6-3).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 2547d670e9349240a4187f725ff2e074
Program exited normally.
(gdb)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (27 preceding siblings ...)
2006-09-13 15:03 ` hjl at lucon dot org
@ 2006-10-24 8:19 ` pinskia at gcc dot gnu dot org
2007-08-02 1:14 ` lauras at gcc dot gnu dot org
2007-08-02 1:14 ` lauras at gcc dot gnu dot org
30 siblings, 0 replies; 32+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-24 8:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #29 from pinskia at gcc dot gnu dot org 2006-10-24 08:19 -------
This works for me and many many other people.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (28 preceding siblings ...)
2006-10-24 8:19 ` pinskia at gcc dot gnu dot org
@ 2007-08-02 1:14 ` lauras at gcc dot gnu dot org
2007-08-02 1:14 ` lauras at gcc dot gnu dot org
30 siblings, 0 replies; 32+ messages in thread
From: lauras at gcc dot gnu dot org @ 2007-08-02 1:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #30 from lauras at gcc dot gnu dot org 2007-08-02 01:13 -------
For the record, this was caused by obsolete awk version, please upgrade if you
experience this problem. The need to document awk prerequisite is tracked in
PR 30739.
--
lauras at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|WORKSFORME |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread
* [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails
2006-09-12 23:48 [Bug other/29049] New: possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails WISD00M at GMX dot NET
` (29 preceding siblings ...)
2007-08-02 1:14 ` lauras at gcc dot gnu dot org
@ 2007-08-02 1:14 ` lauras at gcc dot gnu dot org
30 siblings, 0 replies; 32+ messages in thread
From: lauras at gcc dot gnu dot org @ 2007-08-02 1:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #31 from lauras at gcc dot gnu dot org 2007-08-02 01:14 -------
Closing.
--
lauras at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049
^ permalink raw reply [flat|nested] 32+ messages in thread