Custom Query (4874 matches)
Results (148 - 150 of 4874)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#885 | wontfix | GCC-3.3.3 - Pass 1 fails at Prepare GCC for compilation | ||
Description |
Following the 5.1.1 LFS book (html version) exactly word for word, at the GCC-3.3.3 - Pass 1 section, in the "Prepare GCC for compilation" portion of that page (again following this book word for word) we are to do the following: ../gcc-3.3.3/configure --prefix=/tools \
But this fails with the following exact error messages: lfs:/mnt/lfs/sources/gcc-build$ ../gcc-3.3.3/configure --prefix=/tools --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c Configuring for a i686-pc-linux-gnu host. Created "Makefile" in /mnt/lfs/sources/gcc-build using "mt-frag" /tools/bin/ld: unrecognized option '--as-needed' /tools/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status * The command 'gcc -o conftest -g -O2 conftest.c' failed. * You must set the environment variable CC to a working compiler. Thinking this has to be an LD problem with the LD that we are using in this "protected" build environment ... the current "host GCC" must be using something that "protected /tools/bin/ld" doesn't like? While Google groups searching for this I found:
translated his "specs" file location to my local machine (again, Fedora Core 2) and took out 1 each of "--as-needed" and "--no-as-needed", and ran the LFS book's configure command again. This time it succeeded. Problem gone. The fix, such as it is, is to edit /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs and remove all references to --as-needed and --no-as-needed (there aren't many). ld is then happy, and things compile well. |
|||
#898 | invalid | error in sed command in ch6 util-linux | ||
Description |
As per OP Appears to be an extra "'" in the sed command for altering the CFLAGS so -fno-unit-at-a-time is specified. Book states sed -i -e 's%include ../MCONFIG%'\ '&\n\nCFLAGS:=$(CFLAGS) -fno-unit-at-a-time%' fdisk/Makefile Should be sed -i -e 's%include ../MCONFIG%\&\n\nCFLAGS:=$(CFLAGS) -fno-unit-at-a-time%' \ fdisk/Makefile Bug report courtesy of BlackAura via IRC |
|||
#899 | fixed | DoS vulnerability in zlib 1.2.1 | ||
Description |
A DoS vulnerability exists in zlib 1.2.1. Reported on lfs-security: http://archives.linuxfromscratch.org/mail-archives/lfs-security/2004-August/001271.html Patches available at: http://bugs.gentoo.org/show_bug.cgi?id=61749 http://www.securityfocus.org/bid/11051/solution/ |