Opened 15 years ago

Closed 15 years ago

#2632 closed defect (worksforme)

[LFS 6.6][x86_64] Compilation of binutils in chapter 6.

Reported by: Sergey Klochkov Owned by: lfs-book@…
Priority: low Milestone: 6.6
Component: Book Version: SVN
Severity: minor Keywords:
Cc:

Description

I could not compile binutils in chapter 6 until I compiled it with a '-fPIC' flag because of a 'relocation R_X86_64_32S' error thrown by libz.a. If someone else will experience that issue, it can be essential to mention this in the book.

Change History (1)

comment:1 by ken@…, 15 years ago

Milestone: 6.76.6
Resolution: worksforme
Status: newclosed

I build on x86_64 without a static libz.a and I've never seen this in binutils (there are other issues with static libz in module-init-tools, but that is irrelevant to this ticket).

I suggest that either you failed to correctly build and install shared libz in the previous step (hint: libz.so is in /usr/lib, but the symlink points to ../../lib/libz.so.1.2.3 - maybe your symlink is broken), or else that you have made other changes.

These sorts of build problems are usually best dealt with on lfs-support. Since you claim to be using a 'fake_email', I can't expect a response here, so I'll close the ticket now.

Note: See TracTickets for help on using tickets.