Opened 16 years ago
Closed 16 years ago
#2192 closed task (duplicate)
GCC-4.2.4
Reported by: | Julio Meca Hansen | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.4 |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
New version in the GCC 4.2.x series, 4.2.4, released as of May 19th of 2008:
ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.2.4/gcc-4.2.4.tar.bz2
I haven't tested it yet, I still use 4.2.3 but I'll give it a try with a new system build early this coming week, at least we could have a compiler upgrade while we wait for the 4.3.x series to stabilize
Julio
Attachments (1)
Change History (7)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
I have tested this new GCC version as promised, in the temporary phase, both stage 1 and stage 2, everything correct without any kind of problems, in the chroot phase exactly the same results, perfect compilation, here's the output of the final toolchain test as a successful proof of the exercise:
root:/sources/gcc-build# echo 'main(){}' > dummy.c root:/sources/gcc-build# cc dummy.c -v -Wl,--verbose &> dummy.log root:/sources/gcc-build# readelf -l a.out | grep ': /lib' [Requesting program interpreter: /lib/ld-linux.so.2] root:/sources/gcc-build# grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../../crt1.o succeeded /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../../crti.o succeeded /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../../crtn.o succeeded root:/sources/gcc-build# grep -B3 '^ /usr/include' dummy.log #include <...> search starts here: /usr/local/include /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/include /usr/include root:/sources/gcc-build# grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g' SEARCH_DIR("/usr/i686-pc-linux-gnu/lib") SEARCH_DIR("/usr/local/lib") SEARCH_DIR("/lib") SEARCH_DIR("/usr/lib"); root:/sources/gcc-build# grep "/lib/libc.so.6 " dummy.log attempt to open /lib/libc.so.6 succeeded root:/sources/gcc-build# grep found dummy.log found ld-linux.so.2 at /lib/ld-linux.so.2
I have not continued the rest of the package tests as it wasn't my purpose, just to test the compiler, although I continued compiling until coreutils just to have some packages compiled with the new toolchain and all went successful, hence I recommend upgrading GCC version for the book, but, every comment and review would be greatly appreciated so we all can be sure
Julio
comment:3 by , 16 years ago
Ok, I resolved my problem with shadow, so I was able to complete the system build up to the final chapter, and a little beautification with the configuration scripts in the first chapter of BLFS, all packages compiled with this new version of the GCC 4.2.x series, and all of them ran successfully without any kind of error.
As I'm still studying the diff and patch programs (all those line & number formatting options still drive me a bit crazy), I'm not in a position to produce a patch for the book, and as this package is one of the most critical one (as being part of the toolchain), for this time I would like someone giving it a review, just to be sure everything works ok, from my part, it does ;)
Julio
comment:5 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Tickets should not be closed as fixed until the changes are incorporated in the book.
comment:6 by , 16 years ago
Milestone: | 7.0 → 6.4 |
---|
comment:7 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Duplicate of #2177 which has already been closed.
Sorry, forgot to add the ChangeLog entries, although it doesn't seem like it introduces tons of changes, just AIX 6 support, anyway, here's the log:
Julio