Summary: | sys-libs/libcxxrt-0.0_p20160922 - stdexcept.So: In function `std::exception::~exception()': stdexcept.cc:(.text+0xf3): undefined reference to `operator delete(void*, unsigned long)' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | François Valenduc <francoisvalenduc> |
Component: | Current packages | Assignee: | Alexis Ballier <aballier> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | bkohler, bsd+disabled, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
François Valenduc
2017-12-02 08:00:54 UTC
I tested libxcxxrt-0.0_p20170515 and it compiles although it finds the same problem: >>> Compiling source in /var/tmp/portage/sys-libs/libcxxrt-0.0_p20170515/work/libcxxrt-0.0_p20170515 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j9 -l7 shared x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -c -o dynamic_cast.So dynamic_cast.cc x86_64-pc-linux-gnu-gcc -fPIC -march=native -O2 -pipe -c -o libelftc_dem_gnu3.So libelftc_dem_gnu3.c libelftc_dem_gnu3.c: In function ‘cpp_demangle_read_number_as_string’: libelftc_dem_gnu3.c:2000:6: warning: implicit declaration of function ‘asprintf’ [-Wimplicit-function-declaration] if (asprintf(str, "%ld", n) < 0) { ^~~~~~~~ x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -c -o auxhelper.So auxhelper.cc x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -c -o memory.So memory.cc x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -c -o typeinfo.So typeinfo.cc x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -c -o stdexcept.So stdexcept.cc x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -c -o guard.So guard.cc x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -c -o exception.So exception.cc x86_64-pc-linux-gnu-g++ -fPIC -nodefaultlibs -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,defs -shared -Wl,-soname,libcxxrt.so.1 -o libcxxrt.so.1 dynamic_cast.So exception.So guard.So stdexcept.So typeinfo.So memory.So auxhelper.So libelftc_dem_gnu3.So -ldl -lunwind -lc ln -s libcxxrt.so.1 libcxxrt.so make -j9 -l7 static x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -c -o dynamic_cast.o dynamic_cast.cc x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -c -o libelftc_dem_gnu3.o libelftc_dem_gnu3.c libelftc_dem_gnu3.c: In function ‘cpp_demangle_read_number_as_string’: libelftc_dem_gnu3.c:2000:6: warning: implicit declaration of function ‘asprintf’ [-Wimplicit-function-declaration] if (asprintf(str, "%ld", n) < 0) { ^~~~~~~~ x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -c -o auxhelper.o auxhelper.cc x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -c -o memory.o memory.cc x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -c -o typeinfo.o typeinfo.cc x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -c -o stdexcept.o stdexcept.cc x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -c -o guard.o guard.cc x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -c -o exception.o exception.cc x86_64-pc-linux-gnu-ar cr libcxxrt.a dynamic_cast.o exception.o guard.o stdexcept.o typeinfo.o memory.o auxhelper.o libelftc_dem_gnu3.o >>> Source compiled. >>> Test phase [not enabled]: sys-libs/libcxxrt-0.0_p20170515 >>> Install libcxxrt-0.0_p20170515 into /var/tmp/portage/sys-libs/libcxxrt-0.0_p20170515/image/ category sys-libs * abi_x86_64.amd64: running multilib-minimal_abi_src_install >>> Completed installing libcxxrt-0.0_p20170515 into /var/tmp/portage/sys-libs/libcxxrt-0.0_p20170515/image/ * Final size of build directory: 1464 KiB (1.4 MiB) * Final size of installed tree: 352 KiB * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. Upstream discussion https://github.com/pathscale/libcxxrt/pull/48 (In reply to François Valenduc from comment #1) > I tested libxcxxrt-0.0_p20170515 and it compiles although it finds the same > problem: Because you found the wrong problem. Warnings are not errors. Upstream fixed this in https://github.com/pathscale/libcxxrt/commit/db54f535fc67703b2993b9b2d3fc7ede7a608936 which our 0.0_p20170515 snapshot has. We need to stabilize this new version. *** This bug has been marked as a duplicate of bug 594138 *** |