[MacPorts] #13314: gcc 4.1.2 don't compile under Leopard PowerPC
#13314: gcc 4.1.2 don't compile under Leopard PowerPC -----------------------------------------+---------------------------------- Reporter: emanuel.carnevale@gmail.com | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.5.2 Keywords: gcc, Leopard | -----------------------------------------+---------------------------------- I have an iBook G4 with Leopard 10.5.0 the output is this: --> Fetching gcc41 ---> Attempting to fetch gcc-core-4.1.2.tar.bz2 from ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-4.1.2/ ---> Attempting to fetch gcc-fortran-4.1.2.tar.bz2 from ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-4.1.2/ ---> Attempting to fetch gcc-g++-4.1.2.tar.bz2 from ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-4.1.2/ ---> Attempting to fetch gcc-java-4.1.2.tar.bz2 from ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-4.1.2/ ---> Attempting to fetch gcc-objc-4.1.2.tar.bz2 from ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-4.1.2/ ---> Attempting to fetch gcc-objc-4.1.2.tar.bz2 from ftp://ftp.nluug.nl/mirror/languages/gcc/releases/gcc-4.1.2/ ---> Verifying checksum(s) for gcc41 ---> Extracting gcc41 ---> Configuring gcc41 ---> Building gcc41 with target profiledbootstrap Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc41/work/build" && make profiledbootstrap " returned error 2 Command output: gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite-strings -Wstrict- prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic- macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include ../../gcc-4.1.2/gcc/cfgexpand.c -o cfgexpand.o gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include ../../gcc-4.1.2/gcc/lambda- mat.c -o lambda-mat.o gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include ../../gcc-4.1.2/gcc/lambda- trans.c -o lambda-trans.o gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include ../../gcc-4.1.2/gcc/lambda- code.c -o lambda-code.o gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include ../../gcc-4.1.2/gcc/tree- loop-linear.c -o tree-loop-linear.o gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include ../../gcc-4.1.2/gcc/tree-ssa- sink.c -o tree-ssa-sink.o gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include ../../gcc-4.1.2/gcc/tree- vrp.c -o tree-vrp.o gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include ../../gcc-4.1.2/gcc/tree- stdarg.c -o tree-stdarg.o gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include ../../gcc-4.1.2/gcc/tree- cfgcleanup.c -o tree-cfgcleanup.o gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include ../../gcc-4.1.2/gcc/tree-ssa- reassoc.c -o tree-ssa-reassoc.o gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include ../../gcc-4.1.2/gcc/tree-ssa- structalias.c -o tree-ssa-structalias.o gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include ../../gcc-4.1.2/gcc/tree- object-size.c -o tree-object-size.o gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include \ ../../gcc-4.1.2/gcc/config/rs6000/rs6000.c -o rs6000.o gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include ../../gcc-4.1.2/gcc/config/darwin.c gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include ../../gcc-4.1.2/gcc/config/host-darwin.c gcc -c -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include ../../gcc-4.1.2/gcc/config/rs6000/host-darwin.c -o host-ppc-darwin.o ../../gcc-4.1.2/gcc/config/rs6000/host-darwin.c:38: warning: 'struct sigaltstack' declared inside parameter list ../../gcc-4.1.2/gcc/config/rs6000/host-darwin.c:38: warning: its scope is only this definition or declaration, which is probably not what you want ../../gcc-4.1.2/gcc/config/rs6000/host-darwin.c:38: error: conflicting types for 'sigaltstack' /usr/include/signal.h:89: error: previous declaration of 'sigaltstack' was here ../../gcc-4.1.2/gcc/config/rs6000/host-darwin.c: In function 'segv_handler': ../../gcc-4.1.2/gcc/config/rs6000/host-darwin.c:71: error: 'struct __darwin_mcontext' has no member named 'ss' ../../gcc-4.1.2/gcc/config/rs6000/host-darwin.c:120: error: 'struct __darwin_mcontext' has no member named 'es' ../../gcc-4.1.2/gcc/config/rs6000/host-darwin.c:120: error: 'struct __darwin_mcontext' has no member named 'ss' ../../gcc-4.1.2/gcc/config/rs6000/host-darwin.c: In function 'darwin_rs6000_extra_signals': ../../gcc-4.1.2/gcc/config/rs6000/host-darwin.c:134: warning: passing argument 1 of 'sigaltstack' from incompatible pointer type make[2]: *** [host-ppc-darwin.o] Error 1 make[1]: *** [stage1_build] Error 2 make: *** [profiledbootstrap] Error 2 Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/projects/macports/ticket/13314> MacPorts </projects/macports> Ports system for Mac OS
#13314: gcc41 fails to build on Mac OS X 10.5 Leopard ------------------------------------------+--------------------------------- Reporter: emanuel.carnevale@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: High | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: gcc, Leopard ------------------------------------------+--------------------------------- Changes (by nox@macports.org): * owner: macports-dev@lists.macosforge.org => mww@macports.org * summary: gcc 4.1.2 don't compile under Leopard PowerPC => gcc41 fails to build on Mac OS X 10.5 Leopard * milestone: => Port Bugs -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13314#comment:1> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts