* Package: sys-libs/libcxx-3.8.1 * Repository: gentoo * Maintainer: aballier@gentoo.org bsd@gentoo.org,mgorny@gentoo.org * USE: abi_x86_32 abi_x86_64 amd64 elibc_glibc kernel_linux libcxxrt libunwind userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libcxx-3.8.1.src.tar.xz to /var/tmp/portage/portage/sys-libs/libcxx-3.8.1/work >>> Source unpacked in /var/tmp/portage/portage/sys-libs/libcxx-3.8.1/work >>> Preparing source in /var/tmp/portage/portage/sys-libs/libcxx-3.8.1/work/libcxx-3.8.1.src ... * Will copy sources from /var/tmp/portage/portage/sys-libs/libcxx-3.8.1/work/libcxx-3.8.1.src * abi_x86_32.x86: copying to /var/tmp/portage/portage/sys-libs/libcxx-3.8.1/work/libcxx-3.8.1.src-abi_x86_32.x86 * abi_x86_64.amd64: copying to /var/tmp/portage/portage/sys-libs/libcxx-3.8.1/work/libcxx-3.8.1.src-abi_x86_64.amd64 >>> Source prepared. >>> Configuring source in /var/tmp/portage/portage/sys-libs/libcxx-3.8.1/work/libcxx-3.8.1.src ... >>> Source configured. >>> Compiling source in /var/tmp/portage/portage/sys-libs/libcxx-3.8.1/work/libcxx-3.8.1.src ... * abi_x86_32.x86: running multilib-minimal_abi_src_compile make -j8 -l8 shared g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/algorithm.cpp -o algorithm.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/optional.cpp -o optional.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/random.cpp -o random.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/new.cpp -o new.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/locale.cpp -o locale.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/thread.cpp -o thread.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/future.cpp -o future.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/regex.cpp -o regex.So ../src/new.cpp:132:1: warning: 'void operator delete(void*, size_t)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation) [-Wc++14-compat] operator delete(void* ptr, size_t) _NOEXCEPT ^ ../src/new.cpp:153:1: warning: 'void operator delete [](void*, size_t)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation) [-Wc++14-compat] operator delete[] (void* ptr, size_t) _NOEXCEPT ^ g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/debug.cpp -o debug.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/strstream.cpp -o strstream.So ../src/regex.cpp:77:8: warning: padding struct size to alignment boundary [-Wpadded] struct collationnames ^ ../src/regex.cpp:207:8: warning: padding struct size to alignment boundary [-Wpadded] struct classnames ^ ../src/locale.cpp:131:30: warning: padding struct size to alignment boundary [-Wpadded] class _LIBCPP_HIDDEN locale::__imp ^ ../src/future.cpp: In destructor 'std::__1::promise::~promise()': ../src/future.cpp:225:38: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] if (!__state_->__has_value() && __state_->use_count() > 1) ^ ../src/locale.cpp: In static member function 'static const std::__1::locale& std::__1::locale::__imp::make_classic()': ../src/locale.cpp:462:47: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] locale* c = reinterpret_cast(&buf); ^ ../src/locale.cpp: In static member function 'static std::__1::locale& std::__1::locale::__imp::make_global()': ../src/locale.cpp:480:43: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&buf); ^ ../src/locale.cpp: In member function 'void std::__1::locale::__install_ctor(const std::__1::locale&, std::__1::locale::facet*, long int)': ../src/locale.cpp:563:62: warning: declaration of 'id' shadows a member of 'std::__1::locale' [-Wshadow] locale::__install_ctor(const locale& other, facet* f, long id) ^ In file included from ../include/locale:182:0, from ../src/locale.cpp:17: ../include/__locale:138:32: note: shadowed declaration is here class _LIBCPP_TYPE_VIS locale::id ^ ../src/locale.cpp: In function 'std::__1::codecvt_base::result std::__1::utf16_to_utf8(const uint16_t*, const uint16_t*, const uint16_t*&, uint8_t*, uint8_t*, uint8_t*&, long unsigned int, std::__1::codecvt_mode)': ../src/locale.cpp:1850:49: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion] uint8_t z = ((wc1 & 0x03C0) >> 6) + 1; ^ ../src/locale.cpp: In function 'std::__1::codecvt_base::result std::__1::utf16_to_utf8(const uint32_t*, const uint32_t*, const uint32_t*&, uint8_t*, uint8_t*, uint8_t*&, long unsigned int, std::__1::codecvt_mode)': ../src/locale.cpp:1927:49: warning: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Wconversion] uint8_t z = ((wc1 & 0x03C0) >> 6) + 1; ^ g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/system_error.cpp -o system_error.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/any.cpp -o any.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/exception.cpp -o exception.So ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::collate; A0 = unsigned int]': ../src/locale.cpp:176:44: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&buf); ^ ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::collate; A0 = unsigned int]': ../src/locale.cpp:177:47: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0, A1, A2) [with T = std::__1::ctype; A0 = std::nullptr_t; A1 = bool; A2 = unsigned int]': ../src/locale.cpp:178:58: required from here ../src/locale.cpp:89:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&buf); ^ ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::ctype; A0 = unsigned int]': ../src/locale.cpp:179:45: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] return *reinterpret_cast(&buf); ^ ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::codecvt; A0 = unsigned int]': ../src/locale.cpp:180:54: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::codecvt; A0 = unsigned int]': ../src/locale.cpp:181:57: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::codecvt; A0 = unsigned int]': ../src/locale.cpp:182:58: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::codecvt; A0 = unsigned int]': ../src/locale.cpp:183:58: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::numpunct; A0 = unsigned int]': ../src/locale.cpp:184:38: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::numpunct; A0 = unsigned int]': ../src/locale.cpp:185:41: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::num_get; A0 = unsigned int]': ../src/locale.cpp:186:37: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::num_get; A0 = unsigned int]': ../src/locale.cpp:187:40: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::num_put; A0 = unsigned int]': ../src/locale.cpp:188:37: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::num_put; A0 = unsigned int]': ../src/locale.cpp:189:40: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::moneypunct; A0 = unsigned int]': ../src/locale.cpp:190:47: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::moneypunct; A0 = unsigned int]': ../src/locale.cpp:191:46: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::moneypunct; A0 = unsigned int]': ../src/locale.cpp:192:50: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::moneypunct; A0 = unsigned int]': ../src/locale.cpp:193:49: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::money_get; A0 = unsigned int]': ../src/locale.cpp:194:39: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::money_get; A0 = unsigned int]': ../src/locale.cpp:195:42: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::money_put; A0 = unsigned int]': ../src/locale.cpp:196:39: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::money_put; A0 = unsigned int]': ../src/locale.cpp:197:42: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::time_get; A0 = unsigned int]': ../src/locale.cpp:198:38: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::time_get; A0 = unsigned int]': ../src/locale.cpp:199:41: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::time_put; A0 = unsigned int]': ../src/locale.cpp:200:38: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::time_put; A0 = unsigned int]': ../src/locale.cpp:201:41: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::messages; A0 = unsigned int]': ../src/locale.cpp:202:45: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::messages; A0 = unsigned int]': ../src/locale.cpp:203:48: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] ../src/locale.cpp: In instantiation of 'T& std::__1::{anonymous}::make(A0) [with T = std::__1::locale::__imp; A0 = unsigned int]': ../src/locale.cpp:463:35: required from here ../src/locale.cpp:69:38: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/iostream.cpp -o iostream.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/string.cpp -o string.So ../src/strstream.cpp: In member function 'virtual std::__1::basic_streambuf::pos_type std::__1::strstreambuf::seekoff(std::__1::basic_streambuf::off_type, std::__1::ios_base::seekdir, std::__1::ios_base::openmode)': ../src/strstream.cpp:267:24: warning: 'newoff' may be used uninitialized in this function [-Wmaybe-uninitialized] newoff += __off; ^ g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/typeinfo.cpp -o typeinfo.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/ios.cpp -o ios.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/condition_variable.cpp -o condition_variable.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/stdexcept.cpp -o stdexcept.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/valarray.cpp -o valarray.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/mutex.cpp -o mutex.So ../src/iostream.cpp: In destructor 'std::__1::ios_base::Init::~Init()': ../src/iostream.cpp:76:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ostream* cout_ptr = reinterpret_cast(cout); ^ ../src/iostream.cpp:77:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] wostream* wcout_ptr = reinterpret_cast(wcout); ^ ../src/iostream.cpp:82:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ostream* clog_ptr = reinterpret_cast(clog); ^ ../src/iostream.cpp:83:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] wostream* wclog_ptr = reinterpret_cast(wclog); ^ g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/utility.cpp -o utility.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/bind.cpp -o bind.So ../src/ios.cpp: In member function 'std::__1::locale std::__1::ios_base::imbue(const std::__1::locale&)': ../src/ios.cpp:140:61: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] locale& loc_storage = *reinterpret_cast(&__loc_); ^ ../src/ios.cpp: In member function 'std::__1::locale std::__1::ios_base::getloc() const': ../src/ios.cpp:150:73: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] const locale& loc_storage = *reinterpret_cast(&__loc_); ^ ../src/ios.cpp: In destructor 'virtual std::__1::ios_base::~ios_base()': ../src/ios.cpp:252:61: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] locale& loc_storage = *reinterpret_cast(&__loc_); ^ ../src/ios.cpp: In member function 'void std::__1::ios_base::copyfmt(const std::__1::ios_base&)': ../src/ios.cpp:346:57: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] locale& lhs_loc = *reinterpret_cast(&__loc_); ^ ../src/ios.cpp:347:73: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] const locale& rhs_loc = *reinterpret_cast(&rhs.__loc_); ^ ../src/ios.cpp: In member function 'void std::__1::ios_base::move(std::__1::ios_base&)': ../src/ios.cpp:390:61: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] locale& rhs_loc = *reinterpret_cast(&rhs.__loc_); ^ ../src/ios.cpp: In member function 'void std::__1::ios_base::swap(std::__1::ios_base&)': ../src/ios.cpp:422:57: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] locale& lhs_loc = *reinterpret_cast(&__loc_); ^ ../src/ios.cpp:423:61: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] locale& rhs_loc = *reinterpret_cast(&rhs.__loc_); ^ g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/memory.cpp -o memory.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/hash.cpp -o hash.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/chrono.cpp -o chrono.So g++ -m32 -I../include -DLIBCXXRT -I/usr/include/libcxxrt/ -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -fPIC -nostdinc++ -c ../src/shared_mutex.cpp -o shared_mutex.So ../src/ios.cpp: In member function 'long int& std::__1::ios_base::iword(int)': ../src/ios.cpp:178:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow] ios_base::iword(int index) ^ ../src/ios.cpp: In member function 'void*& std::__1::ios_base::pword(int)': ../src/ios.cpp:202:1: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow] ios_base::pword(int index) ^ g++ -m32 -fPIC -nodefaultlibs -fno-lto -fuse-ld=bfd -march=native -O3 -pipe -std=c++11 -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wpadded -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wl,-fuse-ld=bfd -Wl,-O3 -Wl,--as-needed -Wl,-z,defs -shared -Wl,-soname,libc++.so.1 -o libc++.so.1.0 algorithm.So optional.So random.So new.So locale.So thread.So future.So regex.So debug.So strstream.So system_error.So any.So exception.So iostream.So string.So typeinfo.So ios.So condition_variable.So stdexcept.So valarray.So mutex.So utility.So bind.So memory.So hash.So chrono.So shared_mutex.So -lcxxrt -lpthread -lrt -lc -lunwind thread.So: In function `std::__1::this_thread::sleep_for(std::__1::chrono::duration > const&)': thread.cpp:(.text+0x1b4): undefined reference to `__divdi3' condition_variable.So: In function `std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock&, std::__1::chrono::time_point > >)': condition_variable.cpp:(.text+0x114): undefined reference to `__divdi3' chrono.So: In function `std::__1::chrono::system_clock::to_time_t(std::__1::chrono::time_point > > const&)': chrono.cpp:(.text+0xc0): undefined reference to `__divdi3' collect2: error: ld returned 1 exit status make: *** [Makefile:30: libc++.so.1.0] Error 1 * ERROR: sys-libs/libcxx-3.8.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-libs/libcxx-3.8.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-libs/libcxx-3.8.1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-libs:libcxx-3.8.1:20160913-002621.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/portage/sys-libs/libcxx-3.8.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/portage/sys-libs/libcxx-3.8.1/temp/environment'. * Working directory: '/var/tmp/portage/portage/sys-libs/libcxx-3.8.1/work/libcxx-3.8.1.src-abi_x86_32.x86/lib' * S: '/var/tmp/portage/portage/sys-libs/libcxx-3.8.1/work/libcxx-3.8.1.src'