Re: [gentoo-user] Re: cannot emerge dev-qt/qtcore, undefined reference to `__stack_chk_fail'

2015-01-13 Thread Mike Gilbert
On Tue, Jan 13, 2015 at 7:10 PM, walt w41...@gmail.com wrote:

 After searching various portage manpages and grepping through the eclass
 directory I can find only one pathetic reference to ABI_X86 in a Changelog,
 which doesn't give me clue where the variable is defined.

It's a typical use-expand variable; you set it in make.conf. It gets
set to a default value in your profile.

https://wiki.gentoo.org/wiki/Project:Multilib/Concepts

 Second, does qtcore compile if you change the 32 to -32?  I ask because
 I re-installed qtcore just now, but with these useflags:

 Installed versions:  4.8.6-r1(4)(04:03:45 PM 01/13/2015)(exceptions glib
 iconv icu ssl -aqua -debug -pch -qt3support ABI_MIPS=-n32 -n64 -o32
 ABI_PPC=-32 -64 ABI_S390=-32 -64 ABI_X86=64 -32 -x32)

 I grepped through the build.log and saw no mention of libc_nonshared.a,
 so that seems an important difference.

 BTW, do you know what the x32 useflag means?

It's a weird mix of amd64 and x86 that allows for a smaller memory
footprint while still using all of the registers on an amd64 cpu.

https://sites.google.com/site/x32abi/

Unless you know what you are doing, don't mess with it.



[gentoo-user] Re: cannot emerge dev-qt/qtcore, undefined reference to `__stack_chk_fail'

2015-01-13 Thread walt
On 01/11/2015 09:39 PM, Justin Findlay wrote:
 I am having a problem emerging dev-qt/qtcore that I have been unable to
 solve myself yet.  The system is amd64 and I have ABI_X86='32 64' so
 that pipelight will work.  I think the error is coming from somewhere
 within glibc's multilib compatability.

I can tell from the info you provided that you already know more about
the subject than I do.

So I'll supply questions instead of answers :)

After searching various portage manpages and grepping through the eclass
directory I can find only one pathetic reference to ABI_X86 in a Changelog,
which doesn't give me clue where the variable is defined.  Did you add it
in your make.conf?

Second, does qtcore compile if you change the 32 to -32?  I ask because
I re-installed qtcore just now, but with these useflags:

Installed versions:  4.8.6-r1(4)(04:03:45 PM 01/13/2015)(exceptions glib
iconv icu ssl -aqua -debug -pch -qt3support ABI_MIPS=-n32 -n64 -o32
ABI_PPC=-32 -64 ABI_S390=-32 -64 ABI_X86=64 -32 -x32)

I grepped through the build.log and saw no mention of libc_nonshared.a,
so that seems an important difference.

BTW, do you know what the x32 useflag means?