From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-180973-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id B034E139083
	for <garchives@archives.gentoo.org>; Sat,  2 Dec 2017 15:13:01 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C57BCE0DF3;
	Sat,  2 Dec 2017 15:12:53 +0000 (UTC)
Received: from mtaout003-public.msg.strl.va.charter.net (mtaout003-public.msg.strl.va.charter.net [68.114.190.28])
	by pigeon.gentoo.org (Postfix) with ESMTP id 545B9E0C04
	for <gentoo-user@lists.gentoo.org>; Sat,  2 Dec 2017 15:12:53 +0000 (UTC)
Received: from impout005 ([68.114.189.20])
          by mtaout003.msg.strl.va.charter.net
          (InterMail vM.9.00.023.01 201-2473-194) with ESMTP
          id <20171202151253.KCCE7355.mtaout003.msg.strl.va.charter.net@impout005>
          for <gentoo-user@lists.gentoo.org>;
          Sat, 2 Dec 2017 09:12:53 -0600
Received: from [97.93.199.178] ([97.93.199.178])
	by impout005 with charter.net
	id h3Cs1w00A3rS9Sx013CsMU; Sat, 02 Dec 2017 09:12:53 -0600
X-Authority-Analysis: v=2.2 cv=VrVTO6+n c=1 sm=1 tr=0
 a=imWDfibuKEc1ekl4MvdsDg==:117 a=imWDfibuKEc1ekl4MvdsDg==:17
 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=jErxjG8AXxMQ3q6iyEwA:9 a=QEXdDO2ut3YA:10
X-Auth-id: Y29yYmluYmlyZEBjaGFydGVyLm5ldA==
Subject: Re: [gentoo-user] Profile 17.0 change and app-cdr/cdrdao-1.2.3-r4
To: gentoo-user@lists.gentoo.org
References: <7585761.C6zjVFBt2b@dell_xps>
From: Corbin <corbinbird@charter.net>
Message-ID: <cf5bddcd-192a-075c-a8c9-2e86d5a90f70@charter.net>
Date: Sat, 2 Dec 2017 09:12:51 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.4.0
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
In-Reply-To: <7585761.C6zjVFBt2b@dell_xps>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Archives-Salt: ea246dee-eb98-497b-905d-7e2af086d4d4
X-Archives-Hash: dca9e96e9baed5131d3b73ff2a9b81b2

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