On 23/01/2016 15:50, remotezen wrote:
>
>
> On 23/01/16 09:05 AM, remotezen wrote:
>>
>>
>> On 22/01/16 04:31 PM, Ken Moffat wrote:
>>> On Fri, Jan 22, 2016 at 04:15:40PM -0500, remotezen wrote:
>>>> Hi, trying to install lfs 7.8 util-linux on deb8 host.
>>>>
>>>> ./configure --prefix=/tools
>>>> --without-python
>>>> --disable-makeinstall-chown
>>>> --without-systemdsystemunitdir
>>>> PKG_CONFIG=""
>>>>
>>>> make error results
>>>>
>>>>
>>>> /tools/lib/libpthread.so.0: undefined reference to
>>>> `__getrlimit@GLIBC_PRIVATE'
>>> Googling for
>>> /tools/lib/libpthread.so undefined reference
>>> provides, at least for me, a couple of lfs threads.
>>>
>>> Both point to configuring binutils pass 2. The oldest reference
>>> was apparently fixed by adding "--with-sysroot" when configuring
>>> binutils pass 2 (and we have been using that switch since then), the
>>> more recent had a mistyped --with-lib-path in the configure.
>>>
>>> If your lfs user's command history goes back as far as binutils pass
>>> 2, I suggest you check how you ran configure.
>>>
>>> ĸen
>> Thanks Ken I will retrace my binutils configuration options.
> Checked binutils options still no go. However interestingly enough
> this time as before [ I have compiled this more then a couple of time ] the
> error enumeration varies. I appreciate any and all feed back.
>
Could you run:
echo 'int main(){}' > dummy.c
cc -v -Wl,-verbose -lrt dummy.c >& dummy.log
readelf -l a.out | grep ': /tools'
grep libpthread dummy.log
and tell us what comes out?
Did perl compile OK?
Pierre
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style