Gentoo Archives: gentoo-alt

From: "François Bissey" <francois.bissey@×××××××××××××.nz>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Bootstrap: gcc failed
Date: Tue, 26 Jan 2016 02:56:07
Message-Id: 56A6E040.20508@canterbury.ac.nz
In Reply to: [gentoo-alt] Bootstrap: gcc failed by yegle
1 Usually happens when you are trying to compile 32bit stuff against 64
2 bit libraries (or vice-versa). But we need more info on where it happens.
3
4 Francois
5
6 On 01/26/16 15:53, yegle wrote:
7 > I'm trying to bootstrap a prefix in my NAS (a Synology product running
8 > 64bit DSM 6.0 beta2) and encountered this error:
9 >
10 > /volume1/gentoo/tmp/usr/x86_64-pc-linux-gnu/bin/ld:
11 > /lib64/libc.a(genops.o): relocation R_X86_64_32 against
12 > `_pthread_cleanup_push_defer' can not be u
13 > sed when making a shared object; recompile with -fPIC
14 > /lib64/libc.a: error adding symbols: Bad value
15 > collect2: error: ld returned 1 exit status
16 >
17 > Does anyone have experience with this problem? Thank you.
18 >
19 > --
20 > Yuchen Ying
21 > http://about.me/yegle