public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Profile 17.0 change and app-cdr/cdrdao-1.2.3-r4
  @ 2017-12-02 15:12 99% ` Corbin
  0 siblings, 0 replies; 1+ results
From: Corbin @ 2017-12-02 15:12 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2017-12-02 13:15     [gentoo-user] Profile 17.0 change and app-cdr/cdrdao-1.2.3-r4 Mick
2017-12-02 15:12 99% ` Corbin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox