From owner-freebsd-current@FreeBSD.ORG Sun Apr 29 10:55:02 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40963106564A for ; Sun, 29 Apr 2012 10:55:02 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id CD4B78FC08 for ; Sun, 29 Apr 2012 10:55:01 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1SORmI-0004ts-NZ>; Sun, 29 Apr 2012 12:54:54 +0200 Received: from e178035180.adsl.alicedsl.de ([85.178.35.180] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1SORmI-0005WZ-Em>; Sun, 29 Apr 2012 12:54:54 +0200 Message-ID: <4F9D1DF8.20001@zedat.fu-berlin.de> Date: Sun, 29 Apr 2012 12:54:48 +0200 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120314 Thunderbird/10.0.3 MIME-Version: 1.0 To: Current FreeBSD X-Enigmail-Version: 1.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7DA28C0D1B49305E7F4A407F" X-Originating-IP: 85.178.35.180 Subject: lang/gcc46: error when compiling with CLANG X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 10:55:02 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7DA28C0D1B49305E7F4A407F Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On a FreeBSD 10-CURRENT/amd64 box the compilation/update of the port lang/gcc46 fails with the below shown error. Since the port compiles well on FreeBSD 9 and another FreeBSD 10 box (all amd64, CLANG built), I feel a bit confused since the setup is almost the same on all boxes. The machine in question is the most modern box, equipted with a Core i7-3930K: Copyright (c) 1992-2012 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved.= FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-CURRENT #0: Sat Apr 28 11:08:09 CEST 2012 root@telesto.geoinf.fu-berlin.de:/usr/obj/usr/src/sys/TELESTO amd64 CPU: Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz (3209.59-MHz K8-class CPU) Origin =3D "GenuineIntel" Id =3D 0x206d7 Family =3D 6 Model =3D 2d Stepping =3D 7 Features=3D0xbfebfbff Features2=3D0x1fbee3bf AMD Features=3D0x2c100800 AMD Features2=3D0x1 TSC: P-state invariant, performance statistics real memory =3D 34359738368 (32768 MB) avail memory =3D 33091874816 (31558 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs FreeBSD/SMP: 1 package(s) x 6 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 cpu8 (AP): APIC ID: 8 cpu9 (AP): APIC ID: 9 cpu10 (AP): APIC ID: 10 cpu11 (AP): APIC ID: 11 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard [...] clang -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/genenums \ build/genenums.o build/read-md.o build/errors.o =2E./build-x86_64-portbld-freebsd10.0/libiberty/libiberty.a =2E././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pasting extension is non-portable [-pedantic] =2E././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pasting extension is non-portable [-pedantic] =2E././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pasting extension is non-portable [-pedantic] =2E././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pasting extension is non-portable [-pedantic] =2E././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pasting extension is non-portable [-pedantic] =2E././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pasting extension is non-portable [-pedantic] =2E././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pasting extension is non-portable [-pedantic] =2E././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pasting extension is non-portable [-pedantic] =2E././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pasting extension is non-portable [-pedantic] clang: warning: argument unused during compilation: '-g' echo timestamp > doc/cpp.1 (pod2man --center=3D"GNU" --release=3D"gcc-4.6.4" --date=3D2012-04-20 --section=3D1 cpp.pod > doc/cpp.1.T$$ && \ mv -f doc/cpp.1.T$$ doc/cpp.1) || \ (rm -f doc/cpp.1.T$$ && exit 1) clang -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/genconstants \ build/genconstants.o build/read-md.o build/errors.o =2E./build-x86_64-portbld-freebsd10.0/libiberty/libiberty.a clang -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/genmddeps \ build/genmddeps.o build/read-md.o build/errors.o =2E./build-x86_64-portbld-freebsd10.0/libiberty/libiberty.a clang -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/genmodes \ build/genmodes.o build/errors.o =2E./build-x86_64-portbld-freebsd10.0/libiberty/libiberty.a clang -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/gengenrtl \ build/gengenrtl.o build/errors.o =2E./build-x86_64-portbld-freebsd10.0/libiberty/libiberty.a build/genhooks > tmp-target-hooks-def.h =2E././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pasting extension is non-portable [-pedantic] =2E././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pasting clang: warning: argument unused during compilation: '-g' extension is non-portable [-pedantic] clang.././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pastingclang: warning: argument unused during compilation: '-g' extension is non-portable [-pedantic] : .././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pasting extension is non-portable [-pedantic] warning: argument unused during compilation: '-g' =2E././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pasting extension is non-portable [-pedantic] =2E././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pasting extension is non-portable [-pedantic] =2E././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma pasting extension is non-portable [-pedantic] /bin/sh .././../gcc-4.6-20120420/gcc/../move-if-change tmp-target-hooks-def.h \ target-hooks-def.h build/genhooks \ .././../gcc-4.6-20120420/gcc/doc/tm.texi.in > tmp-tm.texi= clang: warning: argument unused during compilation: '-g' echo timestamp > s-target-hooks-def-h build/genmodes -h > tmp-modes.h build/genmodes -m > tmp-min-modes.c build/genmodes > tmp-modes.c /bin/sh .././../gcc-4.6-20120420/gcc/../move-if-change tmp-modes.c insn-modes.c /bin/sh .././../gcc-4.6-20120420/gcc/../move-if-change tmp-min-modes.c min-insn-modes.c /bin/sh .././../gcc-4.6-20120420/gcc/../move-if-change tmp-modes.h insn-modes.h gmake[3]: *** [s-tm-texi] Segmentation fault: 11 (core dumped) gmake[3]: *** Waiting for unfinished jobs.... echo timestamp > s-modes echo timestamp > s-modes-m echo timestamp > s-modes-h 14 warnings generated. 36 warnings generated. /bin/sh .././../gcc-4.6-20120420/gcc/../move-if-change tmp-optionlist optionlist echo timestamp > s-options rm cpp.pod gcc.pod gfdl.pod gcov.pod fsf-funding.pod gmake[3]: Leaving directory `/usr/ports/lang/gcc46/work/build/gcc' gmake[2]: *** [all-stage1-gcc] Error 2 gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build' gmake: *** [bootstrap-lean] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/lang/gcc46. *** [build] Error code 1 Stop in /usr/ports/lang/gcc46. --------------enig7DA28C0D1B49305E7F4A407F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJPnR3+AAoJEOgBcD7A/5N802MIAJ98KIunb86wPI6TgJrhd/mg gD8ZCkwmtd1yPW4w9aKbo+ZAmMicyk3pjNBlx4iHDPhLZ6bH1VZxmdPM2GNeApE2 jrqUuan3sj3fg+S7Al0NVGAs9TirX4C+Fh0Ktp6xKEVvwSqx6pzLu41vmXyepgKp k2ONp6+wEW/JCisKbK/9DIvNfw6szTS2K8iijJfZMNRJWWDZj5OZHZE7RbMUYNkb vI4NkV61y5OPXp3flMM2JvLNbTlmBkWG0ckL+TNOip7sIYBWlACHXZcR0cKfCREr i4eV/YB4mJgpvk5gFYCEAz7T8AENkZss5Da/iKrXtUGGHO0K4TEIBUT+i8rz6Rs= =O232 -----END PGP SIGNATURE----- --------------enig7DA28C0D1B49305E7F4A407F--