lang/gcc46: error when compiling with CLANG

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Sun, 29 Apr 2012 12:54:48 +0200
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_at_telesto.geoinf.fu-berlin.de:/usr/obj/usr/src/sys/TELESTO amd64
CPU: Intel(R) Core(TM) i7-3930K CPU _at_ 3.20GHz (3209.59-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x206d7  Family = 6  Model = 2d
Stepping = 7

Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>

Features2=0x1fbee3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant, performance statistics
real memory  = 34359738368 (32768 MB)
avail memory = 33091874816 (31558 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I>
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 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> 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
../build-x86_64-portbld-freebsd10.0/libiberty/libiberty.a
.././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma
pasting extension is non-portable [-pedantic]
.././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma
pasting extension is non-portable [-pedantic]
.././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma
pasting extension is non-portable [-pedantic]
.././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma
pasting extension is non-portable [-pedantic]
.././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma
pasting extension is non-portable [-pedantic]
.././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma
pasting extension is non-portable [-pedantic]
.././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma
pasting extension is non-portable [-pedantic]
.././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma
pasting extension is non-portable [-pedantic]
.././../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="GNU" --release="gcc-4.6.4" --date=2012-04-20
--section=1 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
../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
../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
../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
../build-x86_64-portbld-freebsd10.0/libiberty/libiberty.a
build/genhooks > tmp-target-hooks-def.h
.././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma
pasting extension is non-portable [-pedantic]
.././../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'
.././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma
pasting extension is non-portable [-pedantic]
.././../gcc-4.6-20120420/gcc/gengtype.h:474:40: warning: Use of comma
pasting extension is non-portable [-pedantic]
.././../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.


Received on Sun Apr 29 2012 - 08:55:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC