Ticket #2192 (closed task: duplicate)

Opened 6 months ago

Last modified 2 months ago

GCC-4.2.4

Reported by: LydianKnight Assigned to: lfs-book@linuxfromscratch.org
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

gcc-4.2.4.patch (1.7 kB) - added by willimm on 07/19/08 09:33:15.
Updates GCC version to 4.2.4.

Change History

06/01/08 07:34:40 changed by LydianKnight

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:

2008-05-19  Release Manager

* GCC 4.2.4 released.

2008-03-13  David Edelsohn  <edelsohn@gnu.org>

* ltcf-c.sh: Add AIX 6 support.
* ltcf-cxx.sh: Add AIX 6 support.
* ltcf-gcj.sh: Add AIX 6 support.
* ltconfig: Add AIX 6 support.

2008-02-01  Release Manager

* GCC 4.2.3 released.

Julio

06/02/08 20:03:12 changed by LydianKnight

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

06/08/08 12:22:07 changed by LydianKnight

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

07/19/08 09:33:15 changed by willimm

  • attachment gcc-4.2.4.patch added.

Updates GCC version to 4.2.4.

07/19/08 15:35:35 changed by bdubbs@linuxfromscratch.org

  • status changed from closed to reopened.
  • resolution deleted.

Tickets should not be closed as fixed until the changes are incorporated in the book.

10/05/08 12:21:22 changed by bdubbs@linuxfromscratch.org

  • milestone changed from 7.0 to 6.4.

10/05/08 14:51:44 changed by randy@linuxfromscratch.org

  • status changed from reopened to closed.
  • resolution set to duplicate.

Duplicate of #2177 which has already been closed.