Gentoo Archives: gentoo-user

From: Mike Gilbert <floppym@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: cannot emerge dev-qt/qtcore, undefined reference to `__stack_chk_fail'
Date: Wed, 14 Jan 2015 01:49:43
Message-Id: CAJ0EP42osNcgtcvXK9j_Uuc_hoJdZ+Bu1B2+CY6-0rEoK0r1UA@mail.gmail.com
In Reply to: [gentoo-user] Re: cannot emerge dev-qt/qtcore, undefined reference to `__stack_chk_fail' by walt
1 On Tue, Jan 13, 2015 at 7:10 PM, walt <w41ter@×××××.com> wrote:
2
3 > After searching various portage manpages and grepping through the eclass
4 > directory I can find only one pathetic reference to ABI_X86 in a Changelog,
5 > which doesn't give me clue where the variable is defined.
6
7 It's a typical use-expand variable; you set it in make.conf. It gets
8 set to a default value in your profile.
9
10 https://wiki.gentoo.org/wiki/Project:Multilib/Concepts
11
12 > Second, does qtcore compile if you change the 32 to -32? I ask because
13 > I re-installed qtcore just now, but with these useflags:
14 >
15 > Installed versions: 4.8.6-r1(4)(04:03:45 PM 01/13/2015)(exceptions glib
16 > iconv icu ssl -aqua -debug -pch -qt3support ABI_MIPS="-n32 -n64 -o32"
17 > ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
18 >
19 > I grepped through the build.log and saw no mention of libc_nonshared.a,
20 > so that seems an important difference.
21 >
22 > BTW, do you know what the x32 useflag means?
23
24 It's a weird mix of amd64 and x86 that allows for a smaller memory
25 footprint while still using all of the registers on an amd64 cpu.
26
27 https://sites.google.com/site/x32abi/
28
29 Unless you know what you are doing, don't mess with it.