On Saturday, 2 December 2017 15:12:51 GMT Corbin wrote: > Just for the sake of curiosity ... > > Have you tried to compile with this > > CPPFLAGS="-D_GLIBCXX_USE_CXX11_ABI=1" > > added to make.conf ?
I've added this to the command line and it failed at the same point - see below. > The reason for this question ... I have noticed that some"packages" try > to either use or be compatible with both c++11 specs ( old way / new way ). > > > Corbin This is the output: ~ # CPPFLAGS="-D_GLIBCXX_USE_CXX11_ABI=1" emerge -1av cdrdao These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-cdr/cdrdao-1.2.3-r4::gentoo USE="encode mad vorbis" 0 KiB [snip ...] Making all in utils make[2]: Entering directory '/var/tmp/portage/app-cdr/cdrdao-1.2.3-r4/work/ cdrdao-1.2.3/utils' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../trackdb - D_GLIBCXX_USE_CXX11_ABI=1 -march=native -O2 -pipe -std=c++11 -pthread -c -o toc2cue.o toc2cue.cc x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../trackdb - D_GLIBCXX_USE_CXX11_ABI=1 -march=native -O2 -pipe -pthread -c -o main.o main.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../trackdb - D_GLIBCXX_USE_CXX11_ABI=1 -march=native -O2 -pipe -pthread -c -o cue2toc.o cue2toc.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../trackdb - D_GLIBCXX_USE_CXX11_ABI=1 -march=native -O2 -pipe -pthread -c -o timecode.o timecode.c x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../trackdb - D_GLIBCXX_USE_CXX11_ABI=1 -march=native -O2 -pipe -std=c++11 -pthread -c -o toc2cddb.o toc2cddb.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../trackdb - D_GLIBCXX_USE_CXX11_ABI=1 -march=native -O2 -pipe -std=c++11 -pthread -c -o toc2mp3-toc2mp3.o `test -f 'toc2mp3.cc' || echo ' ./'`toc2mp3.cc x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -pthread -Wl,-O1 -Wl,--as- needed -o cue2toc main.o cue2toc.o timecode.o -pthread x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -std=c++11 -pthread -Wl,-O1 -Wl,--as-needed -o toc2cue toc2cue.o ../trackdb/libtrackdb.a -lmad -lm - lvorbisfile -lao -pthread x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -std=c++11 -pthread -Wl,-O1 -Wl,--as-needed -o toc2cddb toc2cddb.o ../trackdb/libtrackdb.a -lmad -lm - lvorbisfile-lao -pthread x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -std=c++11 -pthread -Wl,-O1 -Wl,--as-needed -o toc2mp3 toc2mp3-toc2mp3.o ../trackdb/libtrackdb.a - lmp3lame -lmad-lm -lvorbisfile -lao -pthr ead /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: toc2mp3-toc2mp3.o: warning: relocation against `bitrate_table' in readonly section `.text.startup' toc2mp3-toc2mp3.o: In function `init_encoder(int)': toc2mp3.cc:(.text+0x2c2): undefined reference to `bitrate_table' toc2mp3.cc:(.text+0x2d0): undefined reference to `bitrate_table' toc2mp3.cc:(.text+0x2db): undefined reference to `bitrate_table' toc2mp3-toc2mp3.o: In function `main': toc2mp3.cc:(.text.startup+0x29a): undefined reference to `bitrate_table' toc2mp3.cc:(.text.startup+0x2a1): undefined reference to `bitrate_table' /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in a shared object. collect2: error: ld returned 1 exit status make[2]: *** [Makefile:487: toc2mp3] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-cdr/cdrdao-1.2.3-r4/work/ cdrdao-1.2.3/utils' make[1]: *** [Makefile:436: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-cdr/cdrdao-1.2.3-r4/work/ cdrdao-1.2.3' make: *** [Makefile:375: all] Error 2 * ERROR: app-cdr/cdrdao-1.2.3-r4::gentoo failed (compile phase): * emake failed -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.