From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Profile 17.0 change and app-cdr/cdrdao-1.2.3-r4
Date: Sat, 02 Dec 2017 15:55:48 +0000 [thread overview]
Message-ID: <5082284.H0AkDQaSeA@dell_xps> (raw)
In-Reply-To: <cf5bddcd-192a-075c-a8c9-2e86d5a90f70@charter.net>
[-- Attachment #1: Type: text/plain, Size: 5824 bytes --]
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
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-12-02 15:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Corbin
2017-12-02 15:55 ` Mick [this message]
2017-12-02 16:35 ` Peter Humphrey
2017-12-02 17:08 ` Mike Gilbert
2017-12-13 8:06 ` David Haller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5082284.H0AkDQaSeA@dell_xps \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox