public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/49228] New: gcc fails to compile on darwin (with lto)
@ 2011-05-30 8:45 vincenzo.innocente at cern dot ch
2011-05-30 9:14 ` [Bug bootstrap/49228] " dominiq at lps dot ens.fr
2011-05-30 9:36 ` dominiq at lps dot ens.fr
0 siblings, 2 replies; 3+ messages in thread
From: vincenzo.innocente at cern dot ch @ 2011-05-30 8:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49228
Summary: gcc fails to compile on darwin (with lto)
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: vincenzo.innocente@cern.ch
compiling gcc on darwin stops at
/Users/innocent/RealStuff/gcc-4.7-20110528/host-x86_64-apple-darwin10.7.0/prev-gcc/xgcc
-B/Users/innocent/RealStuff/gcc-4.7-20110528/host-x86_64-apple-darwin10.7.0/prev-gcc/
-B/usr/local/x86_64-apple-darwin10.7.0/bin/
-B/usr/local/x86_64-apple-darwin10.7.0/bin/
-B/usr/local/x86_64-apple-darwin10.7.0/lib/ -isystem
/usr/local/x86_64-apple-darwin10.7.0/include -isystem
/usr/local/x86_64-apple-darwin10.7.0/sys-include -c -DIN_GCC_FRONTEND
-DIN_GCC_FRONTEND -g -O2 -mdynamic-no-pic -flto=jobserver -frandom-seed=1
-DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wc++-compat -fno-common
-DHAVE_CONFIG_H -I. -Ic-family -I../.././gcc -I../.././gcc/c-family
-I../.././gcc/../include -I./../intl -I../.././gcc/../libcpp/include
-I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/dpd
-I../libdecnumber ../.././gcc/c-family/c-common.c -o c-family/c-common.o
/var/folders/Ur/UrR7agy72RWuJU+BYnMxQU+++TQ/-Tmp-//ccISnqXM.s:287338:FATAL:too
many sections (maximum 255)
/Users/innocent/RealStuff/gcc-4.7-20110528/host-x86_64-apple-darwin10.7.0/prev-gcc/xgcc
-v
Using built-in specs.
COLLECT_GCC=/Users/innocent/RealStuff/gcc-4.7-20110528/host-x86_64-apple-darwin10.7.0/prev-gcc/xgcc
Target: x86_64-apple-darwin10.7.0
Configured with: ./configure --enable-languages=c,c++,fortran --enable-lto
--with-build-config=bootstrap-lto CFLAGS='-O2 -ftree-vectorize -fPIC'
CXXFLAGS='-O2 -fPIC -ftree-vectorize -fvisibility-inlines-hidden'
Thread model: posix
gcc version 4.7.0 20110528 (experimental) (GCC)
it is the first time I try lto on MAC
removing -flto compile
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug bootstrap/49228] gcc fails to compile on darwin (with lto)
2011-05-30 8:45 [Bug bootstrap/49228] New: gcc fails to compile on darwin (with lto) vincenzo.innocente at cern dot ch
@ 2011-05-30 9:14 ` dominiq at lps dot ens.fr
2011-05-30 9:36 ` dominiq at lps dot ens.fr
1 sibling, 0 replies; 3+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-05-30 9:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49228
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-05-30 09:11:59 UTC ---
This is a duplicate of pr48086. If you want to use lto on darwin, you have to
revert to Xcode 3.2.5 or try the patch in
http://gcc.gnu.org/ml/gcc-testresults/2011-03/msg01695.html (see pr48108).
*** This bug has been marked as a duplicate of bug 48086 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug bootstrap/49228] gcc fails to compile on darwin (with lto)
2011-05-30 8:45 [Bug bootstrap/49228] New: gcc fails to compile on darwin (with lto) vincenzo.innocente at cern dot ch
2011-05-30 9:14 ` [Bug bootstrap/49228] " dominiq at lps dot ens.fr
@ 2011-05-30 9:36 ` dominiq at lps dot ens.fr
1 sibling, 0 replies; 3+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-05-30 9:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49228
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-05-30 09:28:50 UTC ---
If you want to keep most of Xcode 3.2.6, but live dangerously with lto, you can
also do what I have done: i.e., replace
Apple Inc version cctools-795~45, GNU assembler version 1.38
of 3.2.6 with
Apple Inc version cctools-782~33, GNU assembler version 1.38
from 3.2.5. The relevant beasts are in /usr/libexec/gcc/darwin/x86_64 and
/usr/libexec/gcc/darwin/i386/. Use at your own risk!-)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-30 9:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-30 8:45 [Bug bootstrap/49228] New: gcc fails to compile on darwin (with lto) vincenzo.innocente at cern dot ch
2011-05-30 9:14 ` [Bug bootstrap/49228] " dominiq at lps dot ens.fr
2011-05-30 9:36 ` dominiq at lps dot ens.fr
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).