[Bug other/37625] New: 32-bit bootstrap failure on darwin9

lucier at math dot purdue dot edu gcc-bugzilla@gcc.gnu.org
Tue Sep 23 16:21:00 GMT 2008


I configured gcc with

env CC=/usr/bin/gcc-4.0 ../gcc-4.3.2/configure --enable-languages=c
--enable-checking=release --build=powerpc-apple-darwin9.5.0
--host=powerpc-apple-darwin9.5.0 --target=powerpc-apple-darwin9.5.0
--with-gmp-include=/sw/include/ --with-gmp-lib=/sw/lib/
--with-mpfr-include=/sw/include/ --with-mpfr-lib=/sw/lib
--prefix=/pkgs/gcc-4.3.2-32

and bootstrapped with

make -j 4 bootstrap BOOT_LDFLAGS='-Wl,-search_paths_first'

and bootstrap failed with

[descartes:~/programs/gcc-4.3.2-objdir/gcc] lucier% /usr/bin/gcc-4.0 -g
-fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-DHAVE_CONFIG_H -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o
c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o
c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o
prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.o darwin-c.o rs6000-c.o
c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o dummy-checksum.o main.o
libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a
../libcpp/libcpp.a ./../intl/libintl.a -liconv ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a -L/sw/lib/ -L/sw/lib -lmpfr -lgmp -v
Using built-in specs.
Target: powerpc-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5488~2/src/configure --disable-checking
-enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=i686-apple-darwin9 --program-prefix= --host=powerpc-apple-darwin9
--target=powerpc-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5488)
 /usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/collect2 -dynamic -arch ppc
-macosx_version_min 10.5.5 -weak_reference_mismatches non-weak -o cc1-dummy
-lcrt1.10.5.o -L/sw/lib/ -L/sw/lib -L/usr/lib/powerpc-apple-darwin9/4.0.1
-L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1
-L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1
-L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/../../../powerpc-apple-darwin9/4.0.1
-L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/../../.. c-lang.o stub-objc.o
attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o
c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o
cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o
c-pch.o c-parser.o darwin-c.o rs6000-c.o c-gimplify.o tree-mudflap.o
c-pretty-print.o c-omp.o dummy-checksum.o main.o libbackend.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a
./../intl/libintl.a -liconv ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a -lmpfr -lgmp -lgcc_s.10.5 -lgcc -lSystemStubs
-lSystem
Undefined symbols:
  "_iconv_close", referenced from:
      __cpp_destroy_iconv in libcpp.a(charset.o)
      __cpp_destroy_iconv in libcpp.a(charset.o)
      __cpp_convert_input in libcpp.a(charset.o)
      __nl_free_domain_conv in libintl.a(loadmsgcat.o)
  "_iconv", referenced from:
      _convert_using_iconv in libcpp.a(charset.o)
      _convert_using_iconv in libcpp.a(charset.o)
      _convert_using_iconv in libcpp.a(charset.o)
      _convert_using_iconv in libcpp.a(charset.o)
      __nl_find_msg in libintl.a(dcigettext.o)
  "_iconv_open", referenced from:
      _init_iconv_desc in libcpp.a(charset.o)
      __nl_init_domain_conv in libintl.a(loadmsgcat.o)
      __nl_init_domain_conv in libintl.a(loadmsgcat.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

I built a 64-bit version of gcc-4.3.2 just fine with the command

env CC='gcc -mcpu=970 -m64' ../gcc-4.3.2/configure --enable-checking=release
--build=powerpc64-apple-darwin9.5.0 --host=powerpc64-apple-darwin9.5.0
--target=powerpc64-apple-darwin9.5.0 --with-gmp-include=/sw/include/
--with-gmp-lib=/sw/lib/ppc64 --with-mpfr-include=/sw/include/
--with-mpfr-lib=/sw/lib/ppc64 --prefix=/pkgs/gcc-4.3.2-64; make -j 4 bootstrap
BOOT_LDFLAGS='-Wl,-search_paths_first' 

My environment:

[descartes:~/programs/gcc-4.3.2-objdir/gcc] lucier% printenv
TERM=xterm
SHELL=/bin/tcsh
TMPDIR=/var/folders/Xc/Xcp-rbVFEAqxxyTyi4mfz++++TI/-Tmp-/
Apple_PubSub_Socket_Render=/tmp/launch-0U0x5p/Render
USER=lucier
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/tmp/launch-HtteCk/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PATH=/usr/local/Gambit-C/current/bin:/pkgs/gcc-4.3.2-64/bin:/usr/local/texlive/2008/bin/universal-darwin/:/sw/bin:/sw/sbin:/usr/local/Gambit-C/current/bin:/pkgs/gcc-4.3.2/bin:/usr/local/texlive/2008/bin/universal-darwin/:/usr/local/Gambit-C/current/bin:/usr/local/texlive/2008/bin/universal-darwin/:/usr/local/Gambit-C/current/bin:/usr/local/texlive/2007/bin/powerpc-darwin:/pkgs/gcc-4.2.3-64/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/X11R6/bin
PWD=/Users/lucier/programs/gcc-4.3.2-objdir/gcc
SHLVL=2
HOME=/Users/lucier
LOGNAME=lucier
DISPLAY=/tmp/launch-kPweHq/:0
SECURITYSESSIONID=605770
_=/usr/X11/bin/xterm
WINDOWID=8388621
XTERM_VERSION=XTerm(235)
XTERM_LOCALE=C
XTERM_SHELL=/bin/tcsh
HOSTTYPE=powermac
VENDOR=apple
OSTYPE=darwin
MACHTYPE=powerpc
GROUP=lucier
HOST=descartes.math.purdue.edu
MANPATH=/sw/share/man:/usr/share/man:/usr/X11/man:/sw/lib/perl5/5.8.8/man:/usr/X11R6/man
INFOPATH=/sw/share/info:/sw/info:/usr/share/info
PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
XML_CATALOG_FILES=/sw/etc/xml/catalog
SGML_CATALOG_FILES=/sw/etc/sgml/catalog
QTDIR=/sw/lib/qt3
XDG_DATA_HOME=/Users/lucier/.local/share
XDG_DATA_DIRS=/sw/share
XDG_CONFIG_HOME=/Users/lucier/.config
XDG_CONFIG_DIRS=/sw/etc/xdg
XDG_CACHE_HOME=/Users/lucier/.cache
CVSROOT=:pserver:anoncvs@gcc.gnu.org:/cvs/gcc
DYLD_FALLBACK_LIBRARY_PATH=/usr/local/Gambit-C/current/lib/:
TEXINPUTS=.:~lucier/texmf/:/Users/lucier/text/papers/zakon:


-- 
           Summary: 32-bit bootstrap failure on darwin9
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lucier at math dot purdue dot edu
 GCC build triplet: powerpc-apple-darwin9.5.0
  GCC host triplet: powerpc-apple-darwin9.5.0
GCC target triplet: powerpc-apple-darwin9.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37625



More information about the Gcc-bugs mailing list