#564 closed defect (invalid)
binutils incorrect LDFLAG variable in CVS 20030603
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Book | Version: | CVS |
Severity: | blocker | Keywords: | |
Cc: |
Description
I am using RedHat 9 a build environment to make my LFS system. REdHat 9 uses gcc 3.2.2. When attempting to compile the binutils package in chapter 5, I get an error that says the "-all-static" flag in gcc does NOT work. I checked the gcc docs on this and it looks like the correct flag is "-static". Of course, with "-all-static" binutils doesn't even make, it errors out. With the "- static" flag, it makes. Interestingly enough, gcc 2.9.5 also used this option so I don't understand how -all-static got through.
Change History (4)
comment:1 by , 21 years ago
comment:2 by , 21 years ago
Sorry, I fail to see what you're getting at. Can you be more precise? It looks like you're telling me to use an older version of gcc. But, the book never tells me what version of gcc I should use as my base. In fact, the CVS I am using tells me to compile gcc 3.2.3 for later use. However, I decided to go back to 20030219 and it says the same thing for the binutils flags, not nothing about which gcc to use in my build environment. I cannot see anywhere that defines the gcc to use to compile the binutils package so that the -all-static flag works. I checked gcc and I don't see any such flag -all-static in the docs.
comment:3 by , 21 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
You are trying to build binutils-2.14 while the book has binutils-2.13.x. The build instructions have changed between the two versions.
comment:4 by , 21 years ago
Ok. I see. I couldn't get the 2.13 version to download so I went to 2.14. I got the latest CVS and it works.
This bug is invalid.
See the faq <http://www.linuxfromscratch.org/faq/#why-not-version>.