Last active
May 19, 2017 13:43
-
-
Save yak1ex/b66bb2e16002974fab53a423ce01149a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ===> lib/clang/libllvmminimal (obj,all,install) | |
| /usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmminimal created for /usr/src/lib/clang/libllvmminimal | |
| /usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmminimal/Support created for /usr/src/lib/clang/libllvmminimal | |
| /usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmminimal/TableGen created for /usr/src/lib/clang/libllvmminimal | |
| clang++ -O2 -pipe -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"i386-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\" -ffunction-sections -fdata-sections -MD -MF.depend.Support_APInt.o -MTSupport/APInt.o -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/src/contrib/llvm/lib/Support/APInt.cpp -o Support/APInt.o | |
| In file included from /usr/src/contrib/llvm/lib/Support/APInt.cpp:15: | |
| In file included from /usr/src/contrib/llvm/include/llvm/ADT/APInt.h:20: | |
| In file included from /usr/src/contrib/llvm/include/llvm/Support/MathExtras.h:18: | |
| In file included from /usr/src/contrib/llvm/include/llvm/Support/SwapByteOrder.h:19: | |
| /usr/src/lib/clang/include/llvm/Support/DataTypes.h:34:10: fatal error: 'cmath' file not found | |
| #include <cmath> | |
| ^ | |
| 1 error generated. | |
| mkdir somewhere; cd somewhere | |
| svn checkout --depth empty -r 434737 https://svn.FreeBSD.org/ports/head/devel devel | |
| cd devel | |
| svn update -r 434737 libc++ | |
| svn update -r 434737 libcxxrt | |
| cp -pR /somewhere/devel/libc++ /usr/ports/devel | |
| cp -pR /somewhere/devel/libcxxrt /usr/ports/devel | |
| cd /usr/ports/devel/libc++ | |
| bmake ALLOW_UNSUPPORTED_SYSTEM=1 extract | |
| esac | |
| $CC *.o $RC_CFLAGS $LDSHARED_FLAGS $EXTRA_FLAGS | |
| #libtool -static -o libc++.a *.o | |
| # Create the link for the final library name, so that we can use this directory | |
| bmake ALLOW_UNSUPPORTED_SYSTEM=1 install | |
| rm -rf /usr/include/c++/v1/ | |
| ln -s /usr/local/include/c++/v1 /usr/include/c++/v1 | |
| ln -s /usr/local/include/cxxrt /usr/include/cxxrt | |
| ln -s /usr/local/lib/libc++.so /usr/lib | |
| ln -s /usr/local/lib/libc++.so.1 /usr/lib | |
| ln -s /usr/local/lib/libc++.so.1.0 /usr/lib | |
| ln -s /usr/local/lib/libcxxrt.a /usr/lib | |
| ln -s /usr/local/lib/libcxxrt.so /usr/lib | |
| mkdir /usr/lib/c++; ln -s /usr/local/lib/c++/libc++.so /usr/lib/c++ | |
| ldconfig | |
| /usr/src/contrib/llvm/lib/Support/Unix/Process.inc:98:7: error: use of undeclared identifier 'mallctl'^M | |
| malloc_zone_statistics(malloc_default_zone(), &Stats); | |
| return Stats.size_in_use; // darwin | |
| #elif defined(HAVE_MALLCTL) && 0 | |
| size_t alloc, sz; | |
| sz = sizeof(size_t); | |
| https://www.freebsd.org/cgi/man.cgi?jemalloc(3) | |
| The aligned_alloc, malloc_stats_print, and mallctl* functions first | |
| appeared in FreeBSD 10.0. | |
| -- | |
| https://reviews.freebsd.org/rS316397 | |
| -- | |
| https://reviews.freebsd.org/rS304147 | |
| -- | |
| /usr/src/sys/modules/acpi/aibs/../../../dev/acpi_support/atk0110.c: In function 'aibs_sysctl': | |
| /usr/src/sys/modules/acpi/aibs/../../../dev/acpi_support/atk0110.c:456: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
| /usr/src/sys/modules/acpi/aibs/../../../dev/acpi_support/atk0110.c: In function 'aibs_sysctl_ggrp': | |
| /usr/src/sys/modules/acpi/aibs/../../../dev/acpi_support/atk0110.c:522: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
| --- | |
| cc -c -O3 -pipe -march=core2 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/AdvancedAT/opt_global.h -I. -I/usr/src/sys -fno-common -g -I/usr/obj/usr/src/sys/AdvancedAT -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-uninitialized -finline-limit=8000 -fms-extensions --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -std=iso9899:1999 -Werror -mmmx -msse -msse4 -maes -mpclmul /usr/src/sys/modules/aesni/../../crypto/aesni/aesni_ghash.c | |
| cc1: error: unrecognized command line option "-msse4" | |
| cc1: error: unrecognized command line option "-mpclmul" | |
| WITHOUT_MODULES=aesni | |
| --- | |
| /usr/src/sys/dev/bxe/bxe.c: In function 'bxe_allocate_bars': | |
| /usr/src/sys/dev/bxe/bxe.c:12816: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
| /usr/src/sys/dev/bxe/bxe.c:12816: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
| /usr/src/sys/dev/bxe/bxe.c:12816: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
| /usr/src/sys/dev/bxe/bxe.c:12816: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
| BLOGI(sc, "PCI BAR%d [%02x] memory allocated: %p-%p (%jd) -> %p\n", | |
| i, PCIR_BAR(i), | |
| (void *)(uint32_t)rman_get_start(sc->bar[i].resource), | |
| (void *)(uint32_t)rman_get_end(sc->bar[i].resource), | |
| rman_get_size(sc->bar[i].resource), | |
| (void *)(uint32_t)sc->bar[i].kva); | |
| --- | |
| /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/intel_display.c:8884: warning: initialization from incompatible pointer type | |
| static const struct intel_dmi_quirk intel_dmi_quirks[] = { | |
| { | |
| .dmi_id_list = &(const struct dmi_system_id[]) { | |
| { | |
| .callback = intel_dmi_reverse_brightness, | |
| .ident = "NCR Corporation", | |
| .matches = {DMI_MATCH(DMI_SYS_VENDOR, "NCR Corporation"), | |
| DMI_MATCH(DMI_PRODUCT_NAME, ""), | |
| }, | |
| }, | |
| { } /* terminating entry */ | |
| }, | |
| .hook = quirk_invert_brightness, | |
| }, | |
| }; | |
| struct intel_dmi_quirk { | |
| void (*hook)(struct drm_device *dev); | |
| const struct dmi_system_id (*dmi_id_list)[]; | |
| }; | |
| --- | |
| /usr/src/sys/modules/ndis/../../compat/ndis/subr_ndis.c:1285: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
| --- | |
| cc1: warnings being treated as errors | |
| /usr/src/sys/modules/si/../../dev/si/si_isa.c: In function 'si_isa_probe': | |
| /usr/src/sys/modules/si/../../dev/si/si_isa.c:68: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
| /usr/src/sys/modules/si/../../dev/si/si_isa.c: In function 'si_isa_attach': | |
| /usr/src/sys/modules/si/../../dev/si/si_isa.c:282: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
| --- | |
| cc1: warnings being treated as errors | |
| /usr/src/sys/modules/si/../../dev/si/si_pci.c: In function 'si_pci_attach': | |
| /usr/src/sys/modules/si/../../dev/si/si_pci.c:89: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
| --- | |
| usbus | |
| mountroot waiting for /dev/ad0s1a | |
| shiftキーで画面更新 | |
| ? | |
| ufs:/dev/ada0s1a | |
| --- | |
| encswap faith initrandom ipxrouted kerberos mroute6d mrouted named swap1 | |
| --- | |
| pkg-static install -f pkg | |
| === | |
| with gcc6 | |
| /usr/src/lib/libc/isc/ev_streams.c:23:19: error: 'rcsid' defined but not used [-Werror=unused-const-variable=] | |
| static const char rcsid[] = "$Id: ev_streams.c,v 1.5 2005/04/27 04:56:36 sra Exp $"; | |
| --- | |
| /usr/local/bin/gcc6 -O2 -pipe -march=core2 -fpic -DPIC -fvisibility=hidden -I/usr/src/lib/libc/iconv -MD -MF.depend.__iconv.o -MT__iconv.o -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-error=unused-function -Wno-error=enum-compare -Wno-error=logical-not-parentheses -Wno-error=bool-compare -Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=clobbered -Wno-error=cast-align -Wno-error=extra -Wno-error=attributes -Wno-error=inline -Wno-error=unused-but-set-variable -Wno-error=unused-value -Wno-error=strict-aliasing -Wno-error=address -Wno-error=unused-const-variable -Wno-error=missing-prototypes -c /usr/src/lib/libc/iconv/__iconv.c -o __iconv.o | |
| In file included from /usr/src/lib/libc/iconv/__iconv.c:31:0: | |
| /usr/src/lib/libc/iconv/iconv-internal.h:35:48: error: unknown type name '__iconv_bool' | |
| int __bsd___iconv_get_list(char ***, size_t *, __iconv_bool); | |
| ^~~~~~~~~~~~ | |
| /usr/src/lib/libc/iconv/__iconv.c:34:1: warning: no previous prototype for '__iconv' [-Wmissing-prototypes] | |
| __iconv(iconv_t a, char **b, size_t *c, char **d, | |
| ^~~~~~~ | |
| mv /usr/local/include /usr/local/include.escape | |
| --- | |
| --- lib/libpjdlog__L ---^M | |
| /usr/local/bin/gcc6 -fpic -DPIC -g -O2 -pipe -march=core2 -I/usr/src/lib/libpjdlog -MD -MF.depend.pjdlog.pico -MTpjdlog.pico -std=g | |
| nu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-p | |
| rototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscrip | |
| ts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-error=unused-function -Wno-error=enum-co | |
| mpare -Wno-error=logical-not-parentheses -Wno-error=bool-compare -Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=clobbere | |
| d -Wno-error=cast-align -Wno-error=extra -Wno-error=attributes -Wno-error=inline -Wno-error=unused-but-set-variable -Wno-error=unused | |
| -value -Wno-error=strict-aliasing -Wno-error=address -Wno-error=unused-const-variable -Wno-error=missing-prototypes -c /usr/src/l | |
| ib/libpjdlog/pjdlog.c -o pjdlog.pico^M | |
| --- pjdlog.o ---^M | |
| In file included from /usr/src/lib/libpjdlog/pjdlog.c:44:0:^M | |
| /usr/include/printf.h:118:44: error: unknown type name 'va_list'^M | |
| int __xvprintf(FILE *fp, const char *fmt0, va_list ap);^M | |
| ^~~~~~~^M | |
| --- lib_trace.pico ---^M | |
| /usr/local/bin/gcc6 -fpic -DPIC -g -O2 -pipe -march=core2 -I. -I/usr/obj/usr/src/lib/ncurses/ncurses -I/usr/src/lib/ncurses/ncurses | |
| -I/usr/src/lib/ncurses/ncurses -I/usr/src/contrib/ncurses/include -I/usr/src/contrib/ncurses/ncurses -Wall -DNDEBUG -DHAVE_CONFIG_H - | |
| DFREEBSD_NATIVE -DTERMIOS -MD -MF.depend.lib_trace.pico -MTlib_trace.pico -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werr | |
| or -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-po | |
| inter-sign -Wno-error=unused-function -Wno-error=enum-compare -Wno-error=logical-not-parentheses -Wno-error=bool-compare -Wno-error=u | |
| ninitialized -Wno-error=array-bounds -Wno-error=clobbered -Wno-error=cast-align -Wno-error=extra -Wno-error=attributes -Wno-error=inl | |
| ine -Wno-error=unused-but-set-variable -Wno-error=unused-value -Wno-error=strict-aliasing -Wno-error=address -Wno-error=unused-const- | |
| variable -Wno-error=missing-prototypes -c /usr/src/contrib/ncurses/ncurses/trace/lib_trace.c -o lib_trace.pico^M | |
| --- lib/msun__L ---^M | |
| /usr/src/lib/msun/src/e_acoshl.c:41:2: error: #error "Unsupported long double format"^M | |
| #error "Unsupported long double format"^M | |
| ^~~~~^M | |
| /usr/src/lib/msun/src/e_acoshl.c:62:2: error: #error "Unsupported long double format"^M | |
| #error "Unsupported long double format"^M | |
| ^~~~~^M | |
| /usr/src/lib/msun/src/e_acoshl.c: In function 'acoshl':^M | |
| /usr/src/lib/msun/src/e_acoshl.c:75:26: error: 'EXP_LARGE' undeclared (first use in this function)^M | |
| } else if (hx >= BIAS + EXP_LARGE) { /* x >= LARGE */^M | |
| ^~~~~~~~~^M | |
| /usr/src/lib/msun/src/e_acoshl.c:75:26: note: each undeclared identifier is reported only once for each function it appears in^M | |
| In file included from /usr/src/lib/msun/src/e_acoshl.c:33:0:^M | |
| /usr/src/lib/msun/src/e_acoshl.c:79:19: error: 'ln2' undeclared (first use in this function)^M | |
| RETURNI(logl(x)+ln2); /* acosh(huge)=log(2x), or misnormal */^M | |
| ^^M | |
| /usr/src/lib/msun/src/math_private.h:304:14: note: in definition of macro 'RETURNI'^M | |
| __retval = (x); \^M | |
| ^^M | |
| ieee_extended_intel_96_round_53 | |
| TARGET_96_ROUND_53_LONG_DOUBLE | |
| __GNUC__ | |
| __SIZEOF_LONG_DOUBLE__ 12 | |
| --- bn-586.pico ---^M | |
| /usr/local/bin/gcc6 -fpic -DPIC -O2 -pipe -march=core2 -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -DTERMIOS -DANSI_SOUR | |
| CE -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DOPENSSL_IA32_SSE2 -DAES_ASM -DVPAES_ASM -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DMD5_ASM -DGHASH_ASM -DRMD160_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DWHIRLPOOL_ASM -I/usr/obj/usr/src/secure/lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/src/secure/lib/libcrypto/../ | |
| ../../crypto/openssl/crypto/asn1 -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.bn-586.pico -MTbn-586.pico -std=gnu89 -fstack-protector-strong -Wno-pointer-sign-Wno-error=unused-function -Wno-error=enum-compare -Wno-error=logical-not-parentheses -Wno-error=bool-compare -Wno-error=uninitialize | |
| d -Wno-error=array-bounds -Wno-error=clobbered -Wno-error=cast-align -Wno-error=extra -Wno-error=attributes -Wno-error=inline -Wno-error=unused-but-set-variable -Wno-error=unused-value -Wno-error=strict-aliasing -Wno-error=address -Wno-error=unused-const-variable -Wno-error=missing-prototypes -Wa,--noexecstack -c /usr/src/secure/lib/libcrypto/i386/bn-586.S -o bn-586.pico^M | |
| --- bn_mul.pico ---^M | |
| /usr/local/bin/gcc6 -fpic -DPIC -g -O2 -pipe -march=core2 -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DOPENSSL_IA32_SSE2 -DAES_ASM -DVPAES_ASM -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DMD5_ASM -DGHASH_ASM -DRMD160_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DWHIRLPOOL_ASM -I | |
| /usr/obj/usr/src/secure/lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.bn_mul.pico -MTbn_mul.pico -std=gnu89 -fstack-protector-strong -Wno-pointer-si | |
| gn -Wno-error=unused-function -Wno-error=enum-compare -Wno-error=logical-not-parentheses -Wno-error=bool-compare -Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=clobbered -Wno-error=cast-align -Wno-error=extra -Wno-error=attributes -Wno-error=inline -Wno-error=unused-but-set-variable -Wno-error=unused-value -Wno-error=strict-aliasing -Wno-error=address -Wno-error=unused-const-variable | |
| -Wno-error=missing-prototypes -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bn/bn_mul.c -o bn_mul.pico^M | |
| --- libcrypto.so.8.full --- | |
| bn-586.pico: In function `bn_sub_part_words': | |
| bn-586.S:(.text+0x900): multiple definition of `bn_sub_part_words' | |
| bn_mul.pico:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bn/bn_mul.c:85: first defined here | |
| collect2: error: ld returned 1 exit status | |
| # ×mv /usr/include/openssl /usr/include/openssl.escape | |
| /usr/local/bin/gcc6 -fpic -DPIC -g -O2 -pipe -march=core2 -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DOPENSSL_IA32_SSE2 -DAES_ASM -DVPAES_ASM -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DMD5_ASM -DGHASH_ASM -DRMD160_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DWHIRLPOOL_ASM -I/usr/obj/usr/src/secure/lib/libcrypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1 -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/modes -MD -MF.depend.mem.pico -MTmem.pico -std=gnu89 -fstack-protector-strong -Wno-pointer-sign -Wno-error=unused-function -Wno-error=enum-compare -Wno-error=logical-not-parentheses -Wno-error=bool-compare -Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=clobbered -Wno-error=cast-align -Wno-error=extra -Wno-error | |
| --- ex_data.pico ---^M | |
| no-error=attributes -Wno-error=inline -Wno-error=unused-but-set-variable -Wno-error=unused-value -Wno-error=strict-aliasing -Wno-error=address -Wno-error=unused-const-variable -Wno-error=missing-prototypes -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/ex_data.c -o ex_data.pico^M | |
| In file included from /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/cryptlib.h:65:0,^M | |
| from /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/ex_data.c:141:^M | |
| /usr/src/secure/lib/libcrypto/../../../crypto/openssl/e_os.h:62:34: fatal error: openssl/opensslconf.h: No such file or directory^M | |
| # include <openssl/opensslconf.h>^M | |
| ^^M | |
| # libcxxrt はインストール | |
| ## mv /usr/include/openssl/e_os2.h{,.escape} | |
| ## ln -s /usr/src/crypto/openssl/e_os2.h /usr/include/openssl/ | |
| # mv /usr/include/openssl/opensslconf.h{,.escape} | |
| # ln -s /usr/src/crypto/openssl/crypto/opensslconf.h /usr/include/openssl/ | |
| /usr/src/lib/Makefile: ${_libcxxrt} \ | |
| /usr/src/lib/Makefile:SUBDIR_DEPEND_libc++:= libcxxrt | |
| /usr/src/lib/Makefile:_libcxxrt= libcxxrt | |
| /usr/src/lib/libcxxrt/Makefile:# $FreeBSD: stable/11/lib/libcxxrt/Makefile 313538 2017-02-10 07:32:40Z ngie $ | |
| /usr/src/lib/libcxxrt/Makefile:SRCDIR= ${SRCTOP}/contrib/libcxxrt | |
| /usr/src/lib/libcxxrt/Makefile:LIB= cxxrt | |
| /usr/src/lib/libcompiler_rt/Makefile:CFLAGS+= -I${SRCTOP}/contrib/libcxxrt | |
| /usr/src/lib/libc++/Makefile:_LIBCXXRTDIR= ${SRCTOP}/contrib/libcxxrt | |
| /usr/src/lib/libc++/Makefile:CLEANFILES+= cxxrt_${_S} | |
| /usr/src/lib/libc++/Makefile:STATICOBJS+= cxxrt_${_S:R}.o | |
| /usr/src/lib/libc++/Makefile:cxxrt_${_S}: ${_LIBCXXRTDIR}/${_S} .NOMETA | |
| /usr/src/lib/libc++/Makefile:LIBADD+= cxxrt | |
| /usr/src/lib/libproc/Makefile:LIBADD+= cxxrt | |
| /usr/local/bin/g++6 -O2 -pipe -march=core2 -MD -MF.depend.consumer.o -MTconsumer.o -fstack-protector-strong -Wsystem-headers -Werror | |
| -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-error=unused-function -Wno-error=enum-compare | |
| -Wno-error=logical-not-parentheses -Wno-error=bool-compare -Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=clobbered -Wn | |
| o-error=cast-align -Wno-error=extra -Wno-error=attributes -Wno-error=inline -Wno-error=unused-but-set-variable -Wno-error=unused-valu | |
| e -Wno-error=strict-aliasing -Wno-error=address -Wno-error=unused-const-variable -c /usr/src/lib/libdevdctl/consumer.cc -o consume | |
| r.o^M | |
| In file included from ^[[01m^[[K/usr/local/lib/gcc6/include/c++/bits/basic_string.h:5402:0^[[m^[[K,^M | |
| from ^[[01m^[[K/usr/local/lib/gcc6/include/c++/string:52^[[m^[[K,^M | |
| from ^[[01m^[[K/usr/local/lib/gcc6/include/c++/stdexcept:39^[[m^[[K,^M | |
| from ^[[01m^[[K/usr/local/lib/gcc6/include/c++/array:39^[[m^[[K,^M | |
| from ^[[01m^[[K/usr/local/lib/gcc6/include/c++/tuple:39^[[m^[[K,^M | |
| from ^[[01m^[[K/usr/local/lib/gcc6/include/c++/bits/stl_map.h:63^[[m^[[K,^M | |
| from ^[[01m^[[K/usr/local/lib/gcc6/include/c++/map:61^[[m^[[K,^M | |
| from ^[[01m^[[K/usr/src/lib/libdevdctl/consumer.cc:51^[[m^[[K:^M | |
| /usr/local/lib/gcc6/include/c++/ext/string_conversions.h: In instantiation of '^[[01m^[[K_Ret __gnu_cxx::__stoa(_TRet (*)(const _Char | |
| T*, _CharT**, _Base ...), const char*, const _CharT*, std::size_t*, _Base ...) [with _TRet = long unsigned int; _Ret = long unsigned | |
| int; _CharT = char; _Base = {int}; std::size_t = unsigned int]^[[m^[[K':^M | |
| ^[[01m^[[K/usr/local/lib/gcc6/include/c++/bits/basic_string.h:5424:22:^[[m^[[K required from here^M | |
| ^[[01m^[[K/usr/local/lib/gcc6/include/c++/ext/string_conversions.h:74:16:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Kcomparison between sign | |
| ed and unsigned integer expressions [^[[01;31m^[[K-Werror=sign-compare^[[m^[[K]^M | |
| && (^[[01;31m^[[K__tmp < __numeric_traits<int>^[[m^[[K::__min^M | |
| ^[[01;31m^[[K~~~~~~^~~~~~~~~~~~~~~~~~~~~~~^[[m^[[K^M | |
| --- | |
| /usr/local/bin/g++6 -O2 -pipe -march=core2 -D__HAVE_LONG_DOUBLE -I/usr/src/lib/libc/tests/stdlib -g -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-error=unused-function -Wno-error=enum-compare -Wno-error=logical-not-parentheses -Wno-error=bool-compare -Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=clobbered -Wno-error=cast-align -Wno-e | |
| rror=extra -Wno-error=attributes -Wno-error=inline -Wno-error=unused-but-set-variable -Wno-error=unused-value -Wno-error=strict-aliasing -Wno-error=address -Wno-error=unused-const-variable -Wno-error=sign-compare -Wno-error=shift-negative-value -Wno-error=deprecated-declarations -std=c++11 -o cxa_thread_atexit_test.full cxa_thread_atexit_test.o -lprivateatf-c++ -lprivateatf-c -lprivateatf-c -l | |
| pthread^M | |
| cxa_thread_atexit_test.o: In function `(anonymous namespace)::atfu_tc_cxx__thr::body() const':^M | |
| /usr/src/lib/libc/tests/stdlib/cxa_thread_atexit_test.cc:88: undefined reference to `atf::tests::tc::fail(std::__cxx11::basic_string< | |
| char, std::char_traits<char>, std::allocator<char> > const&)'^M | |
| -L${LIBATF_CXXDIR} -L${LIBATF_CDIR} | |
| --- | |
| In file included from ^[[01m^[[K/usr/include/atf-c++.hpp:29:0^[[m^[[K,^M | |
| from ^[[01m^[[K/usr/src/lib/libnv/tests/dnv_tests.cc:34^[[m^[[K:^M | |
| ^[[01m^[[K/usr/src/lib/libnv/tests/dnv_tests.cc:^[[m^[[K In member function '^[[01m^[[Kvirtual void {anonymous}::atfu_tc_dnvlist_get_ | |
| string__present::body() const^[[m^[[K':^M | |
| ^[[01m^[[K/usr/src/lib/libnv/tests/dnv_tests.cc:126:64:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[K'^[[01m^[[Kstrcmp^[[m^[[K' was not declar | |
| ed in this scope^M | |
| ATF_REQUIRE_EQ(strcmp(dnvlist_get_string(nvl, key, "g"), value^[[01;31m^[[K)^[[m^[[K, 0);^M | |
| ^[[01;31m^[[K^^[[m^[[K^M | |
| -L${OBJTOP}/lib/libdevdctl/ | |
| /usr/local/bin/gcc6 -O2 -pipe -DLOADER_NFS_SUPPORT -DCOMPORT=0x3f8 -DCOMSPEED=9600 -DLOADER_GELI_SUPPORT -I/usr/src/sys/boot/i386/libi386/../../geli -DSMBIOS_SERIAL_NUMBERS -DTERM_EMU -Dalloca=__builtin_alloca -I/usr/src/sys/boot/i386/libi386/../../common -I/usr/src/sys/boot/i386/libi386/../common -I/usr/src/sys/boot/i386/libi386/../btx/lib -I/usr/src/sys/boot/i386/libi386/../../../contrib/dev/acpica/include -I/usr/src/sys/boot/i386/libi386/../../.. -I. -I/usr/src/sys/boot/i386/libi386/../../../../lib/libstand/ -fformat-extensions -march=core2 -march=i386 -ffreestanding -mno-mmx -mno-sse -msoft-float -MD -MF.depend.biosacpi.o -MTbiosacpi.o -std=gnu99 -Wno-error=unused-function -Wno-error=enum-compare -Wno-error=logical-not-parentheses -Wno-error=bool-compare -Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=clobbered -Wno-error=cast-align -Wno-error=extra -Wno-error=attributes -Wno-error=inline -Wno-error=unused-but-set-variable -Wno-error=unused-value -Wno-error=strict-aliasing -Wno-error=a | |
| ddress -Wno-error=unused-const-variable -Wno-error=missing-prototypes -Wno-error=sign-compare -Wno-error=shift-negative-value -Wno-error=deprecated-declarations -Wno-error=misleading-indentation -mpreferred-stack-boundary=2 -c /usr/src/sys/boot/i386/libi386/biosacpi.c -o biosacpi.o | |
| # Handle FreeBSD specific %b and %D printf format specifiers | |
| CFLAGS+= ${FORMAT_EXTENSIONS} | |
| --- | |
| /usr/local/bin/gcc6 -c -O -pipe -march=core2 -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -MD -MF.depend.genassym.o -MTgenassym.o -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=inline -Wno-error=enum-compare -Wno-error=unused-but-set-variable -Wno-error=aggressive-loop-optimizations -Wno-error=maybe-uninitialized -Wno-error=array-bounds -Wno-error=address -Wno-error=cast-qual -Wno-error=sequence-point -Wno-error=attributes -Wno-error=strict-overflow -Wno-error=overflow -fms-extensions -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -std=iso9899:1999 /usr/src/sys/i386/ | |
| i386/genassym.c | |
| gcc6: error: unrecognized command line option '-fformat-extensions'; did you mean '-fno-ms-extensions'? | |
| gcc6: error: unrecognized command line option '-mno-align-long-strings'; did you mean '-mno-align-stringops'? | |
| WITHOUT_FORMAT_EXTENSIONS | |
| sys/conf/kern.mk:CFLAGS.gcc+= -mno-align-long-strings -mpreferred-stack-boundary=2 | |
| sys/boot/pc98/boot2/Makefile:CFLAGS.gcc+= -mno-align-long-strings | |
| sys/boot/i386/boot2/Makefile:CFLAGS.gcc+= -mno-align-long-strings | |
| -Werror=misleading-indentation | |
| --- | |
| /usr/src/sys/netinet/libalias/alias_sctp.c: In function 'FindSctpLocalT': | |
| /usr/src/sys/netinet/libalias/alias_sctp.c:2132:32: error: self-comparison always evaluates to true [-Werror=tautological-compare] | |
| if(G_Addr->g_addr.s_addr == G_Addr->g_addr.s_addr) | |
| ^~ | |
| cc1: all warnings being treated as errors | |
| /usr/local/bin/gcc6 -O2 -pipe -march=core2 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/include -I/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/AdvancedAT/opt_global.h -I. -I/usr/src/sys -fno-common -g -I/usr/obj/usr/src/sys/AdvancedAT -MD -MF.depend.hyperv_machdep.o -MThyperv_machdep.o -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -Wno-format -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=inline -Wno-error=enum-compare -Wno-error=unused-but-set-variable -Wno-error=aggressive-loop-optimizations -Wno-error=maybe-uninitialized -Wno-error=array-bounds -Wno-error=address -Wno-error=cast-qual -Wno-error=sequence-point -Wno-error=attributes -Wno-er | |
| ror=strict-overflow -Wno-error=overflow -Wno-error=misleading-indentation -finline-limit=8000 -fms-extensions --param inline-unit-growth=100 --param large-function-growth=1000 -mpreferred-stack-boundary=2 -std=iso9899:1999 -c /usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/i386/hyperv_machdep.c -o hyperv_machdep.o^M | |
| ^[[01m^[[K/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/i386/hyperv_machdep.c:^[[m^[[K In function '^[[01m^[[Khypercall | |
| _md^[[m^[[K':^M | |
| ^[[01m^[[K/usr/src/sys/modules/hyperv/vmbus/../../../dev/hyperv/vmbus/i386/hyperv_machdep.c:45:2:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[ | |
| K'^[[01m^[[Kasm^[[m^[[K' operand has impossible constraints^M | |
| -mpreferred-stack-boundary=2 | |
| ===> sys/boot/i386/libi386 (all)^M | |
| /usr/local/bin/gcc6 -O2 -pipe -DLOADER_NFS_SUPPORT -DCOMPORT=0x3f8 -DCOMSPEED=9600 -DLOADER_GELI_SUPPORT -I/usr/src/sys/boot/i386/libi | |
| 386/../../geli -DSMBIOS_SERIAL_NUMBERS -DTERM_EMU -Dalloca=__builtin_alloca -I/usr/src/sys/boot/i386/libi386/../../common -I/usr/src/sy | |
| s/boot/i386/libi386/../common -I/usr/src/sys/boot/i386/libi386/../btx/lib -I/usr/src/sys/boot/i386/libi386/../../../contrib/dev/acpic | |
| a/include -I/usr/src/sys/boot/i386/libi386/../../.. -I. -I/usr/src/sys/boot/i386/libi386/../../../../lib/libstand/ -fformat-extensions | |
| -march=core2 -march=i386 -ffreestanding -mno-mmx -mno-sse -msoft-float -MD -MF.depend.biosacpi.o -MTbiosacpi.o -std=gnu99 -Wno-err | |
| or=unused-function -Wno-error=enum-compare -Wno-error=logical-not-parentheses -Wno-error=bool-compare -Wno-error=uninitialized -Wno-err | |
| or=array-bounds -Wno-error=clobbered -Wno-error=cast-align -Wno-error=extra -Wno-error=attributes -Wno-error=inline -Wno-error=unused-b | |
| ut-set-variable -Wno-error=unused-value -Wno-error=strict-aliasing -Wno-error=address -Wno-error=unused-const-variable -Wno-error=missi | |
| ng-prototypes -Wno-error=sign-compare -Wno-error=shift-negative-value -Wno-error=deprecated-declarations -Wno-error=misleading-indentat | |
| ion -Wno-error=strict-overflow -mpreferred-stack-boundary=2 -c /usr/src/sys/boot/i386/libi386/biosacpi.c -o biosacpi.o^M | |
| ^[[01m^[[Kgcc6:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[Kunrecognized command line option '^[[01m^[[K-fformat-extensions^[[m^[[K'; did you m | |
| ean '^[[01m^[[K-fno-ms-extensions^[[m^[[K'?^M | |
| CC=/usr/local/bin/gcc6 | |
| CXX=/usr/local/bin/g++6 | |
| WITHOUT_FORMAT_EXTENSIONS=yes | |
| #WITHOUT_MODULES=aesni | |
| clang-tblgen の実行で落ちる | |
| mv /usr/lib/libstdc++.so.6{,.escape} | |
| ln -s /usr/local/lib/gcc6/libstdc++.so.6.0.22 /usr/lib/libstdc++.so.6 | |
| c++ -O2 -pipe -I/usr/obj/usr/src/tmp/usr/src/lib/clang/libllvm -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=\"i386-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"i386-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\" -ffunction-sections -fdata-sections -g -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -Wl,--gc-sections -static -L/usr/obj/usr/src/tmp/legacy/usr/lib -o clang-tblgen.full ClangASTNodesEmitter.o ClangAttrEmitter.o ClangCommentCommandInfoEmitter.o ClangCommentHTMLNamedCharacterReferenceEmitter.o ClangCommentHTMLTagsEmitter.o ClangDiagnosticsEmitter.o ClangSACheckersEmitter.o NeonEmitter.o TableGen.o /usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmminimal/libllvmminimal.a -lncursesw -lpthread -legacy | |
| ctfconvert | |
| ctfmerge | |
| objcopy | |
| strip | |
| cd /usr/src/lib/libnetbsd; make | |
| cd /usr/src/lib/libthr; make | |
| mv /usr/lib/libthr.a /usr/lib/libthr.a.escape | |
| cp /usr/obj/usr/src/lib/libthr/libthr.a /usr/lib | |
| 0x08070a3e in _thr_rtld_init () | |
| (gdb) bt | |
| #0 0x08070a3e in _thr_rtld_init () | |
| #1 0x08070900 in _libpthread_init () | |
| #2 0x080704ea in _thread_init_hack () | |
| #3 0x080caed2 in __do_global_ctors_aux () | |
| #4 0x00000000 in ?? () | |
| mv /usr/lib/crt1.o /usr/lib/crt1.o.escape | |
| cp /usr/obj/usr/src/lib/csu/i386/crt1.o /usr/lib | |
| #0 0x08070c93 in _thr_rtld_lock_release () | |
| [New LWP 100380] | |
| (gdb) bt | |
| #0 0x08070c93 in _thr_rtld_lock_release () | |
| #1 0x080704d8 in backout_join () | |
| #2 0x08048131 in _init () | |
| break at _thr_rtld_init -> OK | |
| break at _thr_signal_unblock () -> OK | |
| # cd /usr/src/lib/libc; make | |
| # mv /usr/lib/libc.a{,.escape} | |
| # cp /usr/obj/usr/src/lib/libc/libc.a /usr/lib | |
| cc -target i386-unknown-freebsd11.0 --sysroot=/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin -O2 -pipe -march=core2 -fstack-protector-all -Wstack-protector -fsanitize=bounds -g -std=gnu99 -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -o h_raw.full h_raw.o ^M | |
| /usr/obj/usr/src/tmp/usr/bin/ld: /usr/bin/../lib/clang/4.0.0/lib/freebsd/libclang_rt.ubsan_standalone-i386.a: No such file: No such file or directory^M | |
| cc: ^[[0;1;31merror: ^[[0mlinker command failed with exit code 1 (use -v to see invocation)^[[0m^M | |
| # ln -s /usr/obj/usr/src/tmp/usr/lib/clang/4.0.0/lib/freebsd/libclang_rt.ubsan_standalone-i386.a /usr/lib/clang/4.0.0/lib/freebsd | |
| make -j2 buildworld | |
| -------------------------------------------------------------- | |
| >>> World build started on Sun May 7 08:46:45 JST 2017 | |
| -------------------------------------------------------------- | |
| -------------------------------------------------------------- | |
| >>> World build completed on Sun May 7 11:41:11 JST 2017 | |
| -------------------------------------------------------------- | |
| -------------------------------------------------------------- | |
| >>> Kernel build for AdvancedAT started on Sun May 7 12:01:59 JST 2017 | |
| -------------------------------------------------------------- | |
| -------------------------------------------------------------- | |
| >>> Kernel build for AdvancedAT completed on Sun May 7 12:38:39 JST 2017 | |
| -------------------------------------------------------------- | |
| make -j4 buildworld | |
| -------------------------------------------------------------- | |
| >>> World build started on Sun May 7 13:13:13 JST 2017 | |
| -------------------------------------------------------------- | |
| -------------------------------------------------------------- | |
| >>> World build completed on Sun May 7 16:16:13 JST 2017 | |
| -------------------------------------------------------------- | |
| @galactic | |
| with-gcc6 | |
| /usr/local/lib/gcc6/gcc/i386-portbld-freebsd9.3/6.3.0/include-fixed/wchar.h | |
| with system gcc | |
| patch < /opt/stable11_r317665.patch | |
| make.conf | |
| WITHOUT_PROFILE=TRUE | |
| WITHOUT_MODULES=aesni |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment