On 12/02/2017 07:15 AM, Mick wrote:
> app-cdr/cdrdao-1.2.3-r4 also fails to install:
>
> [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    
> -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    
> -march=native 
> -O2 -pipe -pthread -c -o main.o main.c
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../trackdb    
> -march=native 
> -O2 -pipe -pthread -c -o cue2toc.o cue2toc.c
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../trackdb    
> -march=native 
> -O2 -pipe -pthread -c -o timecode.o timecode.c
> x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../trackdb    
> -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    
> -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 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 -pthread                                 
>                                                                               
>                                                                   
> [19/1535]
> /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]: *** Waiting for unfinished jobs....
> 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
>
> Is there a solution for this?

Just for the sake of curiosity ...

Have you tried to compile with this

CPPFLAGS="-D_GLIBCXX_USE_CXX11_ABI=1"

added to make.conf ?

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


Reply via email to