Opened 8 years ago

Closed 8 years ago

#1114 closed task (fixed)

GCC 6.1.0

Reported by: chris@… Owned by: clfs-commits@…
Priority: major Milestone: CLFS Standard 3.1.0
Component: BOOK Version: CLFS Standard GIT
Keywords: Cc: berzerkula@…, jonathan@…, chris@…, cross-lfs@…

Description

New version.

Attachments (5)

gcc-6.1.0-pure64-1.patch (8.9 KB ) - added by chris@… 8 years ago.
gcc-6.1.0-pure64_specs-1.patch (20.3 KB ) - added by chris@… 8 years ago.
gcc-7.1.0-pure64_specs-1.2.patch (19.9 KB ) - added by chris@… 8 years ago.
gcc-7.1.0-pure64-1.2.patch (8.9 KB ) - added by chris@… 8 years ago.
gcc-7.1.0-specs-1.patch (20.3 KB ) - added by William Harrington 8 years ago.

Download all attachments as: .zip

Change History (16)

by chris@…, 8 years ago

Attachment: gcc-6.1.0-pure64-1.patch added

by chris@…, 8 years ago

comment:1 by William Harrington, 8 years ago

the x86 specs patches and some others need to be carefully updated for this release. I used the current specs-1 patch from x86 for my current CLFS ARM build, but had some FAILS which need to be rectified. Didn't affect the arm portion, so the build is fine. As far as 6.1.0 and ISL 0.17.1, no issues. It is solid.

comment:2 by William Harrington, 8 years ago

The plan is to skip this and move to GCC 6.3.0. Patches will still apply, though.

comment:3 by William Harrington, 8 years ago

Milestone: CLFS Standard 3.1.0
Version: CLFS Standard GIT

comment:4 by William Harrington, 8 years ago

Download: http://ftp.gnu.org/gnu/gcc/gcc-6.3.0/gcc-6.3.0.tar.bz2

  • Update url location in XML
  • Need branch update patch?

For GCC 6.3.0 Check the following:

Ch 5 Static

--disable-nls --disable-libmpx --disable-target-libiberty --disable-target-zlib --enable-checking=release --with-glibc-version=2.24

Ch 5 Final

--disable-nls --enable_cxa_atexit --enable-threads=posix --enable-checking=release --enable-libstdcxx-time --disable-werror

Ch 6

cat gcc/limitx.h gcc/glimits.h gcc/limity.h > `dirname
$($CLFS_TARGET-gcc -print-libgcc-file-name)`/include-fixed/limits.h
--disable-nls --libexecdir --with-{gmp,mpfr,mpc,isl} --enable-checking=release --enable-libstdcxx-time --enable-install-libiberty

Ch 10

--enable-checking=release --enable-libstdcxx-time

comment:5 by William Harrington, 8 years ago

I suggest moving to 7.1.0. Chris has done a full build with 7.1.0 with minor fixes for some packages.

comment:6 by William Harrington, 8 years ago

The 7.1.0 version of patches need to be critically checked for errors and tested within builds.

comment:7 by William Harrington, 8 years ago

Diffutils will need:

sed -i '233,237 s/max)/max) \\/' lib/intprops.h

comment:8 by William Harrington, 8 years ago

For x86_64-64 Pure 64bit build, GCC 7.1.0 installed all temp-system libs into /tools/lib64 and installed cc1 final-system libraries into /usr/lib64. I don't know if there is a changein the installation system since 5.3.0.

One fix is to move all lib64/* to ../lib and remove the lib64 directory.

Another fix is to sift through the source and change the relevant parts.

by chris@…, 8 years ago

by chris@…, 8 years ago

Attachment: gcc-7.1.0-pure64-1.2.patch added

comment:9 by William Harrington, 8 years ago

I went to aggressive with my own pure64bit and specs patches. The most recent pure 64bit build did not install gcc libs into lib64 in each section. The patches Chris uploaded were referenced and I have attached the latest patches.

by William Harrington, 8 years ago

Attachment: gcc-7.1.0-specs-1.patch added

comment:11 by William Harrington, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.