Opened 17 years ago

Closed 15 years ago

#11890 closed defect (wontfix)

BUG: gcc41 4.1.2, Revision 1 fails target profiledbootstrap building c-cppbuiltin.o

Reported by: william.allen.simpson@… Owned by: mww@…
Priority: Low Milestone:
Component: ports Version: 1.4.3
Keywords: gcc Panther Cc: william.allen.simpson@…, ryandesign (Ryan Carsten Schmidt)
Port: gcc41

Description

Looks like bad parameters to the cross compiler when building in Panther.

Building gcc41 with target profiledbootstrap
Error: Target com.apple.build returned: shell command " cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc41/work/build" && make profiledbootstrap " returned error 2
Command output: stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin7.9.0/bin/ -c   -g -O2 -mdynamic-no-pic -fprofile-generate -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 -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/build -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include    -o build/genconfig.o ../../gcc-4.1.2/gcc/genconfig.c
stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin7.9.0/bin/   -g -O2 -mdynamic-no-pic -fprofile-generate -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 -DGENERATOR_FILE  -o build/genconfig \
        build/genconfig.o build/rtl.o build/read-rtl.o build/ggc-none.o build/min-insn-modes.o build/gensupport.o build/insn-conditions.o build/print-rtl.o \
        build/errors.o ../build-powerpc-apple-darwin7.9.0/libiberty/libiberty.a
build/genconfig ../../gcc-4.1.2/gcc/config/rs6000/rs6000.md > tmp-config.h
/bin/sh ../../gcc-4.1.2/gcc/../move-if-change tmp-config.h insn-config.h
insn-config.h is unchanged
echo timestamp > s-config
stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin7.9.0/bin/ -c   -g -O2 -mdynamic-no-pic -fprofile-generate -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/c-decl.c -o c-decl.o
stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin7.9.0/bin/ -c   -g -O2 -mdynamic-no-pic -fprofile-generate -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/c-typeck.c -o c-typeck.o
stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin7.9.0/bin/ -c   -g -O2 -mdynamic-no-pic -fprofile-generate -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/c-convert.c -o c-convert.o
stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin7.9.0/bin/ -c   -g -O2 -mdynamic-no-pic -fprofile-generate -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/c-aux-info.c -o c-aux-info.o
stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin7.9.0/bin/ -c   -g -O2 -mdynamic-no-pic -fprofile-generate -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/c-common.c -o c-common.o
stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin7.9.0/bin/ -c   -g -O2 -mdynamic-no-pic -fprofile-generate -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/c-opts.c -o c-opts.o 
stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin7.9.0/bin/ -c   -g -O2 -mdynamic-no-pic -fprofile-generate -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/c-format.c -o c-format.o
stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin7.9.0/bin/ -c   -g -O2 -mdynamic-no-pic -fprofile-generate -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/c-semantics.c -o c-semantics.o
stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin7.9.0/bin/ -c   -g -O2 -mdynamic-no-pic -fprofile-generate -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/c-incpath.c -o c-incpath.o
stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin7.9.0/bin/   -g -O2 -mdynamic-no-pic -fprofile-generate -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    \
  -DGCC_INCLUDE_DIR=\"/opt/local/lib/gcc41/gcc/powerpc-apple-darwin7.9.0/4.1.2/include\" -DGPLUSPLUS_INCLUDE_DIR=\"/opt/local/include/gcc41/c++/\" -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"/opt/local/include/gcc41/c++//powerpc-apple-darwin7.9.0\" -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"/opt/local/include/gcc41/c++//backward\" -DLOCAL_INCLUDE_DIR=\"/opt/local/include\" -DCROSS_INCLUDE_DIR=\"/opt/local/lib/gcc41/gcc/powerpc-apple-darwin7.9.0/4.1.2/../../../../powerpc-apple-darwin7.9.0/sys-include\" -DTOOL_INCLUDE_DIR=\"/opt/local/lib/gcc41/gcc/powerpc-apple-darwin7.9.0/4.1.2/../../../../powerpc-apple-darwin7.9.0/include\"  \
  -c ../../gcc-4.1.2/gcc/cppdefault.c -o cppdefault.o
stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin7.9.0/bin/ -c   -g -O2 -mdynamic-no-pic -fprofile-generate -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/c-ppoutput.c -o c-ppoutput.o
stage1/xgcc -Bstage1/ -B/opt/local/powerpc-apple-darwin7.9.0/bin/ -c   -g -O2 -mdynamic-no-pic -fprofile-generate -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/c-cppbuiltin.c -o c-cppbuiltin.o
/var/tmp//ccnW5RgC.s:1396:stfiwx instruction is optional for the PowerPC (not allowed without -force_cpusubtype_ALL option)
/var/tmp//ccnW5RgC.s:1493:stfiwx instruction is optional for the PowerPC (not allowed without -force_cpusubtype_ALL option)
/var/tmp//ccnW5RgC.s:1590:stfiwx instruction is optional for the PowerPC (not allowed without -force_cpusubtype_ALL option)
/var/tmp//ccnW5RgC.s:1645:stfiwx instruction is optional for the PowerPC (not allowed without -force_cpusubtype_ALL option)
make[2]: *** [c-cppbuiltin.o] Error 1
make[1]: *** [stageprofile_build] Error 2
make: *** [profiledbootstrap] Error 2
gcc --version
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1671)
sw_vers
ProductName:    Mac OS X
ProductVersion: 10.3.9
BuildVersion:   7W98

Change History (7)

comment:1 Changed 16 years ago by mww@…

Priority: NormalLow

Looks like this is an issue with Panther's cctools http://gcc.gnu.org/ml/gcc/2005-03/msg01149.html

You could have a try with odcctools;

comment:2 Changed 16 years ago by mww@…

Cc: william.allen.simpson@… added
Status: newassigned

please report back if the odcctools variant work on 10.3 -- I'll add it as a default then.

comment:3 Changed 15 years ago by tobypeterson

Resolution: wontfix
Status: assignedclosed

panther, closing

comment:4 in reply to:  3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; mww@… removed
Port: gcc41 added
Resolution: wontfix
Status: closedreopened

Replying to toby@…:

panther, closing

Not a good reason to close a bug.

I get this error too. I'll try the +odcctools variant.

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:7 Changed 15 years ago by tobypeterson

Resolution: wontfix
Status: reopenedclosed

We don't support Panther.

Note: See TracTickets for help on using tickets.