#2437: chap-5.10.1 gcc unneeded reference to sysv4.h
-------------------------+--------------------------------------------------
Reporter: gespinasse | Owner: lfs-b...@…
Type: enhancement | Status: new
Priority: normal | Milestone: 6.5
Component: Book | Version: SVN
Severity: minor | Keywords:
-------------------------+--------------------------------------------------
Comment(by br...@…):
Replying to [ticket:2437 gespinasse]:
> gcc/config/rs6000/sysv4.h contain the define for the linker
> GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
> But gcc/config/i386/sysv4.h does not contain that define.
Um... so? :-)
> LFS does not support powerpc, so that's useless to adjust the linker in
rs6000/sysv4.h file.
Oh, I see.
This was the result of making the book a bit friendlier to other
architectures a while ago, when it didn't overly complicate things. (This
is also why the text in the "toolchain technical notes" section is not
specific to the x86 32-bit linker, but is generic when that's easy.)
I would rather not change this back to be x86/32-bit specific. It's not
very complicated the way it is, and we hit all the possible linker paths
this way. No, the book doesn't *support* other architectures, but it
might possibly *work* on some of them this way. It's up to the reader to
ensure that it does (since we don't), but there's at least a chance.
(Same with the multilib comment.)
I won't set this to WONTFIX yet, though (I'll let a few other people chime
in; maybe everybody else wants to revert to x86-and-32-bit-only).
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2437#comment:1>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page