Date: Sat, 26 Sep 2020 13:40:45 +0200 From: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> To: freebsd-current@freebsd.org Subject: clang build buggy code with certain CPUTYPE setting Message-ID: <20200926114045.GA31128@plan-b.pwste.edu.pl>
index | next in thread | raw e-mail
[-- Attachment #1 --] Dear list, I have done a few builds of CURRENT in a row one or two weeks apart. The builds with CPUTYPE?=amdfam10 set produce buggy code, for example while running mergemaster I get this error: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: cc --version #0 0x00000000040ede6e (/usr/bin/cc+0x40ede6e) #1 0x00000000040ec0e5 (/usr/bin/cc+0x40ec0e5) #2 0x00000000040ee550 (/usr/bin/cc+0x40ee550) #3 0x000000080553babe (/lib/libthr.so.3+0x19abe) Illegal instruction make: "/usr/src/share/mk/bsd.compiler.mk" line 181: Unable to determine compiler type for CC=cc. Consider setting COMPILER_TYPE. The 13-CURRENT world built without CPUTYPE runs fine, the same for recent 12.2-STABLE world build with CPUTYPE?=amdfam10 on the same machine. Any tips would be appreciated, -- Marek Zarychta [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEMOqvKm6wKvS1/ZeCdZ/s//1SjSwFAl9vKLoACgkQdZ/s//1S jSz57gf7BHw3v6gQjmE2yGq+OZ+3iEGFq3ks3sInRLZXT2uWJ1xMpS/xNjiMErJq wjvc9auH29kkNVtII6Gr2QTZ0Tha8M1ooOUzGv++kIgrzda0tqkikmwa97KU6f+B WMkaojxVItlIqoYOffM7JX2W95cYDImf9UHKEDTFCmUoOOcorgDntZyNAsU5LCIl STX7r5KgdCj5mP+z32dFHOi2BlgfHtec2eyJw1iY7L1sc6dx706bZgOCOdiafkMk VNYw68fyHQBoBNokqaj8GqpNUgtJMVNDXtNHL3tmbmA7+hDqd/MLj9HSSt4doooI JIwuDYBA4bRxGe4y8USZrneZgK+rWg== =sBwH -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200926114045.GA31128>
