1 |
On Saturday, 2 December 2017 15:12:51 GMT Corbin wrote: |
2 |
|
3 |
> Just for the sake of curiosity ... |
4 |
> |
5 |
> Have you tried to compile with this |
6 |
> |
7 |
> CPPFLAGS="-D_GLIBCXX_USE_CXX11_ABI=1" |
8 |
> |
9 |
> added to make.conf ? |
10 |
|
11 |
I've added this to the command line and it failed at the same point - see |
12 |
below. |
13 |
|
14 |
> The reason for this question ... I have noticed that some"packages" try |
15 |
> to either use or be compatible with both c++11 specs ( old way / new way ). |
16 |
> |
17 |
> |
18 |
> Corbin |
19 |
|
20 |
This is the output: |
21 |
|
22 |
~ # CPPFLAGS="-D_GLIBCXX_USE_CXX11_ABI=1" emerge -1av cdrdao |
23 |
|
24 |
These are the packages that would be merged, in order: |
25 |
|
26 |
Calculating dependencies... done! |
27 |
[ebuild R ] app-cdr/cdrdao-1.2.3-r4::gentoo USE="encode mad vorbis" 0 |
28 |
KiB |
29 |
[snip ...] |
30 |
|
31 |
Making all in utils |
32 |
make[2]: Entering directory '/var/tmp/portage/app-cdr/cdrdao-1.2.3-r4/work/ |
33 |
cdrdao-1.2.3/utils' |
34 |
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../trackdb - |
35 |
D_GLIBCXX_USE_CXX11_ABI=1 -march=native -O2 -pipe -std=c++11 -pthread -c -o |
36 |
toc2cue.o toc2cue.cc |
37 |
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../trackdb - |
38 |
D_GLIBCXX_USE_CXX11_ABI=1 -march=native -O2 -pipe -pthread -c -o main.o |
39 |
main.c |
40 |
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../trackdb - |
41 |
D_GLIBCXX_USE_CXX11_ABI=1 -march=native -O2 -pipe -pthread -c -o cue2toc.o |
42 |
cue2toc.c |
43 |
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../trackdb - |
44 |
D_GLIBCXX_USE_CXX11_ABI=1 -march=native -O2 -pipe -pthread -c -o timecode.o |
45 |
timecode.c |
46 |
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../trackdb - |
47 |
D_GLIBCXX_USE_CXX11_ABI=1 -march=native -O2 -pipe -std=c++11 -pthread -c -o |
48 |
toc2cddb.o toc2cddb.cc |
49 |
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../trackdb - |
50 |
D_GLIBCXX_USE_CXX11_ABI=1 -march=native -O2 -pipe -std=c++11 -pthread -c -o |
51 |
toc2mp3-toc2mp3.o `test -f 'toc2mp3.cc' || echo ' |
52 |
./'`toc2mp3.cc |
53 |
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -pthread -Wl,-O1 -Wl,--as- |
54 |
needed -o cue2toc main.o cue2toc.o timecode.o -pthread |
55 |
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -std=c++11 -pthread -Wl,-O1 |
56 |
-Wl,--as-needed -o toc2cue toc2cue.o ../trackdb/libtrackdb.a -lmad -lm - |
57 |
lvorbisfile -lao -pthread |
58 |
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -std=c++11 -pthread -Wl,-O1 |
59 |
-Wl,--as-needed -o toc2cddb toc2cddb.o ../trackdb/libtrackdb.a -lmad -lm - |
60 |
lvorbisfile-lao -pthread |
61 |
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -std=c++11 -pthread -Wl,-O1 |
62 |
-Wl,--as-needed -o toc2mp3 toc2mp3-toc2mp3.o ../trackdb/libtrackdb.a - |
63 |
lmp3lame -lmad-lm -lvorbisfile -lao -pthr |
64 |
ead |
65 |
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: |
66 |
toc2mp3-toc2mp3.o: warning: relocation against `bitrate_table' in readonly |
67 |
section `.text.startup' |
68 |
toc2mp3-toc2mp3.o: In function `init_encoder(int)': |
69 |
toc2mp3.cc:(.text+0x2c2): undefined reference to `bitrate_table' |
70 |
toc2mp3.cc:(.text+0x2d0): undefined reference to `bitrate_table' |
71 |
toc2mp3.cc:(.text+0x2db): undefined reference to `bitrate_table' |
72 |
toc2mp3-toc2mp3.o: In function `main': |
73 |
toc2mp3.cc:(.text.startup+0x29a): undefined reference to `bitrate_table' |
74 |
toc2mp3.cc:(.text.startup+0x2a1): undefined reference to `bitrate_table' |
75 |
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: |
76 |
warning: creating a DT_TEXTREL in a shared object. |
77 |
collect2: error: ld returned 1 exit status |
78 |
make[2]: *** [Makefile:487: toc2mp3] Error 1 |
79 |
make[2]: Leaving directory '/var/tmp/portage/app-cdr/cdrdao-1.2.3-r4/work/ |
80 |
cdrdao-1.2.3/utils' |
81 |
make[1]: *** [Makefile:436: all-recursive] Error 1 |
82 |
make[1]: Leaving directory '/var/tmp/portage/app-cdr/cdrdao-1.2.3-r4/work/ |
83 |
cdrdao-1.2.3' |
84 |
make: *** [Makefile:375: all] Error 2 |
85 |
* ERROR: app-cdr/cdrdao-1.2.3-r4::gentoo failed (compile phase): |
86 |
* emake failed |
87 |
|
88 |
-- |
89 |
Regards, |
90 |
Mick |