Gentoo Archives: gentoo-user

From: Justin Findlay <jfindlay@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cannot emerge dev-qt/qtcore, undefined reference to `__stack_chk_fail'
Date: Sun, 01 Feb 2015 21:27:26
Message-Id: 54CE9A34.6000204@gmail.com
In Reply to: Re: [gentoo-user] cannot emerge dev-qt/qtcore, undefined reference to `__stack_chk_fail' by Justin Findlay
1 On 02/01/2015 01:44 PM, Justin Findlay wrote:
2 > On 01/13/2015 06:51 PM, Mike Gilbert wrote:
3 >> On Mon, Jan 12, 2015 at 12:39 AM, Justin Findlay <jfindlay@×××××.com> wrote:
4 >>> I am having a problem emerging dev-qt/qtcore that I have been unable to
5 >>> solve myself yet. The system is amd64 and I have ABI_X86='32 64' so
6 >>> that pipelight will work. I think the error is coming from somewhere
7 >>> within glibc's multilib compatability.
8 >>
9 >> You should file a bug. ^_^
10 >
11 > Here's the bug in question (I didn't file it, though) in the case that
12 > someone else finds this thread first:
13 >
14 > https://bugs.gentoo.org/show_bug.cgi?id=503500
15 >
16 > There are some linker flag suggestions there that I'll try. If I have
17 > success I'll update here what I've done.
18
19 This worked for me:
20
21 LDFLAGS="-Wl,-O1 -Wl,--no-as-needed" emerge -v1 qtcore
22
23
24 Justin