[MacPorts] #51796: gcc6/c++/functional:1726:40: internal compiler error: in assign_temp, at function.c:961
MacPorts
noreply at macports.org
Thu Jul 7 15:44:14 PDT 2016
#51796: gcc6/c++/functional:1726:40: internal compiler error: in assign_temp, at
function.c:961
--------------------------------------------+------------------------------
Reporter: noloader@… | Owner: macports-
Type: defect | tickets@…
Priority: Normal | Status: new
Component: ports | Milestone:
Keywords: gcc6 "internal compiler error" | Version: 2.3.4
| Port: gcc-mp-6
--------------------------------------------+------------------------------
I'm working on OS X 10.8.5. The machine has MacPorts 2.3.4 installed.
I'm attempting to compile [http://github.com/randombit/botan Jack Lloyd's
Botan] with GCC 6.1. Botan is a C++ TLS library.
{{{
$ ./configure.py --os=darwin --cc=gcc --cpu=x86_64 --cc-
bin=/opt/local/bin/g++-mp-6 --cc-abi-flags="-Wa,-q"
INFO: Platform: OS="Darwin" machine="x86_64" proc="i386"
INFO: Canonicalizized CPU target x86_64 to x86_64/x86_64
INFO: Target is gcc-darwin-x86_64-x86_64
INFO: Skipping, dependency failure - sessions_sqlite3
INFO: Skipping, incompatible CPU - mp_x86_32 simd_altivec
INFO: Skipping, incompatible OS - beos_stats cryptoapi_rng win32_stats
INFO: Skipping, incompatible compiler - mp_x86_32_msvc
INFO: Skipping, only used if needed or requested - dyn_load mp_generic
simd_scalar
INFO: Skipping, requires external dependency - boost bzip2 lzma openssl
pkcs11 sqlite3 tpm zlib
INFO: Using MP module mp_x86_64
INFO: Using SIMD module simd_sse2
INFO: Loading modules adler32 aead aes aes_ni aes_ssse3 aont asn1
auto_rng base base64 bcrypt bigint blake2 block blowfish camellia cascade
cast cbc cbc_mac ccm cfb chacha chacha20poly1305 clmul cmac codec_filt
comb4p compression crc24 crc32 cryptobox ctr curve25519 darwin_secrandom
datastor des dev_random dh dl_algo dl_group dlies dsa eax ec_gfp ec_group
ecb ecc_key ecdh ecdsa ecgdsa ecies eckcdsa egd elgamal eme_oaep eme_pkcs1
eme_raw emsa1 emsa_pkcs1 emsa_pssr emsa_raw emsa_x931 entropy fd_unix ffi
filters fpe_fe1 gcm gost_28147 gost_3410 gost_3411 has160 hash hash_id hex
hkdf hmac hmac_drbg hmac_rng hres_timer http_util idea idea_sse2 if_algo
kasumi kdf kdf1 kdf1_iso18033 kdf2 keccak keypair lion locking_allocator
mac mars mce mceies md2 md4 md5 mdx_hash mgf1 misty1 mode_pad modes mp
mp_x86_64 noekeon noekeon_simd nr numbertheory ocb ofb oid_lookup openpgp
par_hash passhash9 pbes2 pbkdf pbkdf1 pbkdf2 pem pk_pad poly1305 prf_tls
prf_x942 proc_walk pubkey rc2 rc4 rc5 rc6 rdrand rdseed rfc3394 rfc6979
rmd128 rmd160 rng rsa rw safer salsa20 seed serpent serpent_simd
sessions_sql sha1 sha1_sse2 sha2_32 sha2_64 simd simd_sse2 siphash siv
skein sp800_108 sp800_56c srp6 stream system_rng tea threefish
threefish_avx2 tiger tls tss twofish unix_procs utils whirlpool x509
x919_mac x931_rng xtea xtea_simd xts
INFO: Assuming CPU is little endian
INFO: Assuming unaligned memory access works
INFO: Using symlink to link files into build dir (use --link-method to
change)
INFO: Botan 1.11.31 (unreleased undated) build setup is complete
...
$ make
...
/opt/local/bin/g++-mp-6 -m64 -pthread -fstack-protector -Wa,-q -fPIC
-fvisibility=hidden -std=c++11 -D_REENTRANT -O3 -momit-leaf-frame-pointer
-Wall -Wextra -Wpedantic -Wshadow -Wstrict-aliasing -Wstrict-overflow=5
-Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-
null-pointer-constant -Wnon-virtual-dtor -Ibuild/include -c
./src/lib/pubkey/pkcs8.cpp -o build/obj/lib/pubkey_pkcs8.o
In file included from /opt/local/include/gcc6/c++/memory:79:0,
from build/include/botan/types.h:16,
from build/include/botan/mem_ops.h:11,
from build/include/botan/secmem.h:11,
from build/include/botan/pk_keys.h:11,
from build/include/botan/x509_key.h:11,
from build/include/botan/pkcs8.h:11,
from ./src/lib/pubkey/pkcs8.cpp:8:
/opt/local/include/gcc6/c++/functional: In static member function 'static
_Res std::_Function_handler<_Res(_ArgTypes ...),
_Functor>::_M_invoke(const std::_Any_data&, _ArgTypes&& ...) [with _Res =
std::__cxx11::basic_string<char>; _Functor =
Botan::PKCS8::load_key(Botan::DataSource&,
Botan::RandomNumberGenerator&)::<lambda()>; _ArgTypes = {}]':
/opt/local/include/gcc6/c++/functional:1726:40: internal compiler error:
in assign_temp, at function.c:961
std::forward<_ArgTypes>(__args)...);
^
/opt/local/include/gcc6/c++/functional:1726:40: internal compiler error:
Abort trap: 6
g++-mp-6: internal compiler error: Abort trap: 6 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://trac.macports.org/newticket> for instructions.
Makefile:1152: recipe for target 'build/obj/lib/pubkey_pkcs8.o' failed
make: *** [build/obj/lib/pubkey_pkcs8.o] Error 4
}}}
--
Ticket URL: <https://trac.macports.org/ticket/51796>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list