[Bug 1704762] [NEW] bootstrap fails while compiling gcc-4.9.4 packages from source on yakkety and later

Florin Gherendi florin_gf at yahoo.fr
Mon Jul 17 09:49:39 UTC 2017


Public bug reported:

On yakkety and zesty, trying to compile the gcc-4.9.4 packages from source will fail on bootstrap phase. This is because gccgo-4.9.4 will try to store non-zero values in .bss in the assembler source, and that will trigger an assembler error in binutils >= 2.27 provided with yakkety and zesty. The error is explained in binutils/gas/Changelog-2015 (search bss).
I didn't go further to see if other compilers from the gcc package will trigger this error, but it's possible as well (so far, g++, objc, objc++ and gcc itself do not).

I know that this is rather a gcc bug and the 4.9.4 is just a maintenance
release, and the development of this version ceased; but there are still
many apps out there requiring gcc-4.9. I think a patch to solve this
would be more than useful.

Florin

** Affects: gcc-4.9 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.9 in Ubuntu.
https://bugs.launchpad.net/bugs/1704762

Title:
  bootstrap fails while compiling gcc-4.9.4 packages from source on
  yakkety and later

Status in gcc-4.9 package in Ubuntu:
  New

Bug description:
  On yakkety and zesty, trying to compile the gcc-4.9.4 packages from source will fail on bootstrap phase. This is because gccgo-4.9.4 will try to store non-zero values in .bss in the assembler source, and that will trigger an assembler error in binutils >= 2.27 provided with yakkety and zesty. The error is explained in binutils/gas/Changelog-2015 (search bss).
  I didn't go further to see if other compilers from the gcc package will trigger this error, but it's possible as well (so far, g++, objc, objc++ and gcc itself do not).

  I know that this is rather a gcc bug and the 4.9.4 is just a
  maintenance release, and the development of this version ceased; but
  there are still many apps out there requiring gcc-4.9. I think a patch
  to solve this would be more than useful.

  Florin

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1704762/+subscriptions



More information about the foundations-bugs mailing list