Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#17469 closed defect (duplicate)

gcc34 3.4.6 build error

Reported by: bva@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: gcc34

Description

I'm trying to install gcc 3.4 because another port (QEMU) has "known issues" with gcc version 4. But gcc 3.4 doesn't build cleanly.

Xander:~ ben$ sudo port install gcc34
--->  Fetching gcc34
--->  Attempting to fetch gcc-3.4.6.tar.bz2 from http://ftp.gnu.org/gnu//gcc/gcc-3.4.6
--->  Verifying checksum(s) for gcc34
--->  Extracting gcc34
--->  Configuring gcc34
--->  Building gcc34 with target bootstrap-lean
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_gcc34/work/build" && make bootstrap-lean " returned error 2
Command output: 	    > tmp-mlib.h; \
	else \
	  /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/genmultilib '' '' '' '' '' '' '' no \
	    > tmp-mlib.h; \
	fi
/bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/move-if-change tmp-mlib.h multilib.h
echo timestamp > s-mlib
lsf="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/cp/lang-specs.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/f/lang-specs.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/java/lang-specs.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/objc/lang-specs.h"; for f in $lsf; do \
	    echo "#include \"$f\""; \
	done | sed 's|/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/||' > tmp-specs.h
/bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/move-if-change tmp-specs.h specs.h
echo timestamp > s-specs
(SHLIB_LINK='' \
	SHLIB_MULTILIB=''; \
	/usr/bin/gcc-4.0   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -Wno-error  -DHAVE_CONFIG_H    -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/../include  \
  -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/opt/local/lib/gcc-3.4/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/opt/local/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"3.4.6\" -DDEFAULT_TARGET_MACHINE=\"i686-apple-darwin9.5.1\" -DSTANDARD_BINDIR_PREFIX=\"/opt/local/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\"  `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
  -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c -o gcc.o)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:716: warning: string length '2483' is greater than the length '509' ISO C89 compilers are required to support
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:723: warning: string length '636' is greater than the length '509' ISO C89 compilers are required to support
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:906: warning: string length '529' is greater than the length '509' ISO C89 compilers are required to support
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:924: warning: string length '608' is greater than the length '509' ISO C89 compilers are required to support
In file included from ./specs.h:4,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:957:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/objc/lang-specs.h:27: warning: string length '603' is greater than the length '509' ISO C89 compilers are required to support
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/objc/lang-specs.h:42: warning: string length '783' is greater than the length '509' ISO C89 compilers are required to support
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:1095: error: syntax error before ',' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:1506: warning: string length '833' is greater than the length '509' ISO C89 compilers are required to support
make[2]: *** [gcc.o] Error 1
make[1]: *** [stage1_build] Error 2
make: *** [bootstrap-lean] Error 2

Error: Status 1 encountered during processing.
Xander:~ ben$ 

Any suggestions?

Change History (2)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed

duplicate of #15838.

comment:2 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.