public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6
@ 2006-07-07 0:46 craigwd2000 at gmail dot com
2006-07-07 1:32 ` [Bug libstdc++/28297] " pinskia at physics dot uc dot edu
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: craigwd2000 at gmail dot com @ 2006-07-07 0:46 UTC (permalink / raw)
To: gcc-bugs
GCC 4.1.1 fails to build on Mac OS X 10.4.6.
1. Extract source code.
2. Open Terminal.
3. Run ./configure --enable-threads --x-includes=/usr/X11R6
--x-libraries=/usr/X11R6 --with-cpu=powerpc --with-mpfr=/usr/local/lib
--with-gmp=/usr/local/lib.
4. Run make.
5. The following error appears halting the build process:
checking for sin in -lm... configure: error: Link tests are not allowed after
GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make: *** [all] Error 2
GCC 4.1.1 should compile properly.
I'm using Apple's GCC 4.0.1 for compiling.
--
Summary: GCC 4.1.1 fails to build on Mac OS X 10.4.6
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: craigwd2000 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28297
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6
2006-07-07 0:46 [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6 craigwd2000 at gmail dot com
2006-07-07 1:32 ` [Bug libstdc++/28297] " pinskia at physics dot uc dot edu
@ 2006-07-07 1:32 ` Andrew Pinski
2006-07-07 1:58 ` [Bug libstdc++/28297] " craigwd2000 at gmail dot com
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Andrew Pinski @ 2006-07-07 1:32 UTC (permalink / raw)
To: gcc-bugzilla; +Cc: gcc-bugs
>
> GCC 4.1.1 fails to build on Mac OS X 10.4.6.
> 1. Extract source code.
> 2. Open Terminal.
> 3. Run ./configure --enable-threads --x-includes=/usr/X11R6
> --x-libraries=/usr/X11R6 --with-cpu=powerpc --with-mpfr=/usr/local/lib
> --with-gmp=/usr/local/lib.
> 4. Run make.
> 5. The following error appears halting the build process:
> checking for sin in -lm... configure: error: Link tests are not allowed after
> GCC_NO_EXECUTABLES.
> make[1]: *** [configure-target-libstdc++-v3] Error 1
> make: *** [all] Error 2
> GCC 4.1.1 should compile properly.
> I'm using Apple's GCC 4.0.1 for compiling.
This works for me, try using "make bootstrap" instead of make.
-- Pinski
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libstdc++/28297] GCC 4.1.1 fails to build on Mac OS X 10.4.6
2006-07-07 0:46 [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6 craigwd2000 at gmail dot com
@ 2006-07-07 1:32 ` pinskia at physics dot uc dot edu
2006-07-07 1:32 ` [Bug libstdc++/28297] New: " Andrew Pinski
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at physics dot uc dot edu @ 2006-07-07 1:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at physics dot uc dot edu 2006-07-07 01:32 -------
Subject: Re: New: GCC 4.1.1 fails to build on Mac OS X 10.4.6
>
> GCC 4.1.1 fails to build on Mac OS X 10.4.6.
> 1. Extract source code.
> 2. Open Terminal.
> 3. Run ./configure --enable-threads --x-includes=/usr/X11R6
> --x-libraries=/usr/X11R6 --with-cpu=powerpc --with-mpfr=/usr/local/lib
> --with-gmp=/usr/local/lib.
> 4. Run make.
> 5. The following error appears halting the build process:
> checking for sin in -lm... configure: error: Link tests are not allowed after
> GCC_NO_EXECUTABLES.
> make[1]: *** [configure-target-libstdc++-v3] Error 1
> make: *** [all] Error 2
> GCC 4.1.1 should compile properly.
> I'm using Apple's GCC 4.0.1 for compiling.
This works for me, try using "make bootstrap" instead of make.
-- Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28297
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libstdc++/28297] GCC 4.1.1 fails to build on Mac OS X 10.4.6
2006-07-07 0:46 [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6 craigwd2000 at gmail dot com
2006-07-07 1:32 ` [Bug libstdc++/28297] " pinskia at physics dot uc dot edu
2006-07-07 1:32 ` [Bug libstdc++/28297] New: " Andrew Pinski
@ 2006-07-07 1:58 ` craigwd2000 at gmail dot com
2006-07-07 2:06 ` [Bug other/28297] " pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: craigwd2000 at gmail dot com @ 2006-07-07 1:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from craigwd2000 at gmail dot com 2006-07-07 01:58 -------
I just now tried make bootstrap. Now I'm getting a new error:
make[1]: *** No rule to make target `bootstrap'. Stop.
make: *** [bootstrap] Error 2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28297
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug other/28297] GCC 4.1.1 fails to build on Mac OS X 10.4.6
2006-07-07 0:46 [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6 craigwd2000 at gmail dot com
` (2 preceding siblings ...)
2006-07-07 1:58 ` [Bug libstdc++/28297] " craigwd2000 at gmail dot com
@ 2006-07-07 2:06 ` pinskia at gcc dot gnu dot org
2006-07-12 22:08 ` craigwd2000 at gmail dot com
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-07 2:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-07-07 02:05 -------
Can you look into config.log and see why it is failing.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|libstdc++ |other
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28297
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug other/28297] GCC 4.1.1 fails to build on Mac OS X 10.4.6
2006-07-07 0:46 [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6 craigwd2000 at gmail dot com
` (3 preceding siblings ...)
2006-07-07 2:06 ` [Bug other/28297] " pinskia at gcc dot gnu dot org
@ 2006-07-12 22:08 ` craigwd2000 at gmail dot com
2006-07-12 22:10 ` craigwd2000 at gmail dot com
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: craigwd2000 at gmail dot com @ 2006-07-12 22:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from craigwd2000 at gmail dot com 2006-07-12 22:08 -------
Created an attachment (id=11872)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11872&action=view)
This is my config.log file that was generated when attempting to compile GCC
4.1.1.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28297
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug other/28297] GCC 4.1.1 fails to build on Mac OS X 10.4.6
2006-07-07 0:46 [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6 craigwd2000 at gmail dot com
` (4 preceding siblings ...)
2006-07-12 22:08 ` craigwd2000 at gmail dot com
@ 2006-07-12 22:10 ` craigwd2000 at gmail dot com
2006-07-12 22:11 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: craigwd2000 at gmail dot com @ 2006-07-12 22:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from craigwd2000 at gmail dot com 2006-07-12 22:10 -------
I have also just updated my iMac G5 to 10.4.7. The error in 7/07/06 comment
occurred just shortly after updating to 10.4.7 too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28297
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug other/28297] GCC 4.1.1 fails to build on Mac OS X 10.4.6
2006-07-07 0:46 [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6 craigwd2000 at gmail dot com
` (5 preceding siblings ...)
2006-07-12 22:10 ` craigwd2000 at gmail dot com
@ 2006-07-12 22:11 ` pinskia at gcc dot gnu dot org
2006-07-12 22:25 ` craigwd2000 at gmail dot com
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-12 22:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-07-12 22:11 -------
The config.log in the libstdc++ directory under the powerpc-apple-darwin8.7.0
directory would be more useful.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28297
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug other/28297] GCC 4.1.1 fails to build on Mac OS X 10.4.6
2006-07-07 0:46 [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6 craigwd2000 at gmail dot com
` (6 preceding siblings ...)
2006-07-12 22:11 ` pinskia at gcc dot gnu dot org
@ 2006-07-12 22:25 ` craigwd2000 at gmail dot com
2006-07-13 21:11 ` langton at gcc dot gnu dot org
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: craigwd2000 at gmail dot com @ 2006-07-12 22:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from craigwd2000 at gmail dot com 2006-07-12 22:25 -------
Created an attachment (id=11873)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11873&action=view)
My config.log file that's related to Libstdc++.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28297
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug other/28297] GCC 4.1.1 fails to build on Mac OS X 10.4.6
2006-07-07 0:46 [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6 craigwd2000 at gmail dot com
` (7 preceding siblings ...)
2006-07-12 22:25 ` craigwd2000 at gmail dot com
@ 2006-07-13 21:11 ` langton at gcc dot gnu dot org
2006-07-14 0:22 ` craigwd2000 at gmail dot com
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: langton at gcc dot gnu dot org @ 2006-07-13 21:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from langton at gcc dot gnu dot org 2006-07-13 21:11 -------
(In reply to comment #0)
> 3. Run ./configure --enable-threads --x-includes=/usr/X11R6
> --x-libraries=/usr/X11R6 --with-cpu=powerpc --with-mpfr=/usr/local/lib
> --with-gmp=/usr/local/lib.
Are you building in the source directory? If so, try creating a new object
directory, then 'configure' and 'make bootstrap' from that directory.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28297
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug other/28297] GCC 4.1.1 fails to build on Mac OS X 10.4.6
2006-07-07 0:46 [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6 craigwd2000 at gmail dot com
` (8 preceding siblings ...)
2006-07-13 21:11 ` langton at gcc dot gnu dot org
@ 2006-07-14 0:22 ` craigwd2000 at gmail dot com
2006-09-03 6:37 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: craigwd2000 at gmail dot com @ 2006-07-14 0:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from craigwd2000 at gmail dot com 2006-07-14 00:22 -------
I just now tried that. Now I'm getting this error:
make: *** No rule to make target `bootstrap'. Stop.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28297
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug other/28297] GCC 4.1.1 fails to build on Mac OS X 10.4.6
2006-07-07 0:46 [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6 craigwd2000 at gmail dot com
` (9 preceding siblings ...)
2006-07-14 0:22 ` craigwd2000 at gmail dot com
@ 2006-09-03 6:37 ` pinskia at gcc dot gnu dot org
2006-09-06 2:43 ` craigwd2000 at gmail dot com
2006-12-09 22:39 ` pinskia at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-03 6:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from pinskia at gcc dot gnu dot org 2006-09-03 06:37 -------
(In reply to comment #9)
> I just now tried that. Now I'm getting this error:
> make: *** No rule to make target `bootstrap'. Stop.
That does not make sense.
Anyways try these instructions:
cd gcc-src # the toplevel directory
mkdir objdir
cd objdir
../configure #rest of your configure options
make bootstrap
mske install
------
Also you don't want to do "--with-cpu=powerpc" as that will disable all the
features that are in the G3 and above.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |normal
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28297
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug other/28297] GCC 4.1.1 fails to build on Mac OS X 10.4.6
2006-07-07 0:46 [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6 craigwd2000 at gmail dot com
` (10 preceding siblings ...)
2006-09-03 6:37 ` pinskia at gcc dot gnu dot org
@ 2006-09-06 2:43 ` craigwd2000 at gmail dot com
2006-12-09 22:39 ` pinskia at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: craigwd2000 at gmail dot com @ 2006-09-06 2:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from craigwd2000 at gmail dot com 2006-09-06 02:43 -------
I just tried building GCC 4.1.1 with the following options:
I ran ../configure --enable-threads --x-includes=/usr/X11R6
--x-libraries=/usr/X11R6 --with-mpfr=/usr/local/lib --with-gmp=/usr/local/lib
from ~/Desktop/Downloads/GCC/gcc-4.1.1/gcc/objdir. I ran make bootstrap & got
the following errors:
make[1]: *** No rule to make target `dummy-checksum.c', needed by
`dummy-checksum.o'. Stop.
make: *** [stage1_build] Error 2. I'm still using GCC 4.0.1 for compiling.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28297
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug other/28297] GCC 4.1.1 fails to build on Mac OS X 10.4.6
2006-07-07 0:46 [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6 craigwd2000 at gmail dot com
` (11 preceding siblings ...)
2006-09-06 2:43 ` craigwd2000 at gmail dot com
@ 2006-12-09 22:39 ` pinskia at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-09 22:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from pinskia at gcc dot gnu dot org 2006-12-09 22:39 -------
This works for me and many others, I wonder if your machine messed up the tar
ball and not untar all the sources.
--
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=28297
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2006-12-09 22:39 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-07 0:46 [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6 craigwd2000 at gmail dot com
2006-07-07 1:32 ` [Bug libstdc++/28297] " pinskia at physics dot uc dot edu
2006-07-07 1:32 ` [Bug libstdc++/28297] New: " Andrew Pinski
2006-07-07 1:58 ` [Bug libstdc++/28297] " craigwd2000 at gmail dot com
2006-07-07 2:06 ` [Bug other/28297] " pinskia at gcc dot gnu dot org
2006-07-12 22:08 ` craigwd2000 at gmail dot com
2006-07-12 22:10 ` craigwd2000 at gmail dot com
2006-07-12 22:11 ` pinskia at gcc dot gnu dot org
2006-07-12 22:25 ` craigwd2000 at gmail dot com
2006-07-13 21:11 ` langton at gcc dot gnu dot org
2006-07-14 0:22 ` craigwd2000 at gmail dot com
2006-09-03 6:37 ` pinskia at gcc dot gnu dot org
2006-09-06 2:43 ` craigwd2000 at gmail dot com
2006-12-09 22:39 ` 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).