[MacPorts] #47410: Xcode 6.3 breaks gcc 4.9.2 builds with bootstrap comparison failures
#47410: Xcode 6.3 breaks gcc 4.9.2 builds with bootstrap comparison failures -----------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: gcc49 -----------------------------------+-------------------------------- The new Xcode 6.3's clang 6.1 (3.6.0svn) compilers break the bootstrap of FSF gcc 4.9.2 and gcc 4.9.3svn due to configure leaving BUILD_CONFIG unset. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733 https://llvm.org/bugs/show_bug.cgi?id=23192 This same issue occurs when the llvm 3.5.1, 3.5.2 or 3.6.0 compilers are used to bootstrap gcc. The current workaround is to explicitly pass --with-build-config=bootstrap-debug to configure when the newer clang compilers are in use. -- Ticket URL: <https://trac.macports.org/ticket/47410> MacPorts <https://www.macports.org/> Ports system for OS X
#47410: Xcode 6.3 breaks gcc 4.9.2 builds with bootstrap comparison failures ------------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gcc49 | ------------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: jeremyhu (removed) * cc: jeremyhu@… (added) Comment: Note that the Cc field requires complete email addresses. -- Ticket URL: <https://trac.macports.org/ticket/47410#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47410: Xcode 6.3 breaks gcc 4.9.2 builds with bootstrap comparison failures ------------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gcc49 | ------------------------------------+-------------------------------- Description changed by ryandesign@…: Old description:
The new Xcode 6.3's clang 6.1 (3.6.0svn) compilers break the bootstrap of FSF gcc 4.9.2 and gcc 4.9.3svn due to configure leaving BUILD_CONFIG unset.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733 https://llvm.org/bugs/show_bug.cgi?id=23192
This same issue occurs when the llvm 3.5.1, 3.5.2 or 3.6.0 compilers are used to bootstrap gcc. The current workaround is to explicitly pass --with-build-config=bootstrap-debug to configure when the newer clang compilers are in use.
New description: The new Xcode 6.3's clang 6.1 (3.6.0svn) compilers break the bootstrap of FSF gcc 4.9.2 and gcc 4.9.3svn due to configure leaving BUILD_CONFIG unset. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733\\ https://llvm.org/bugs/show_bug.cgi?id=23192 This same issue occurs when the llvm 3.5.1, 3.5.2 or 3.6.0 compilers are used to bootstrap gcc. The current workaround is to explicitly pass `--with-build-config=bootstrap-debug` to configure when the newer clang compilers are in use. -- -- Ticket URL: <https://trac.macports.org/ticket/47410#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47410: gcc49 @4.9.2_1: bootstrap comparison fails with Xcode 6.3 ------------------------------------+------------------- Reporter: howarth.at.macports@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gcc49 | ------------------------------------+------------------- Changes (by larryv@…): * cc: larryv@… (added) * owner: macports-tickets@… => mww@… -- Ticket URL: <https://trac.macports.org/ticket/47410#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47410: gcc49 @4.9.2_1: bootstrap comparison fails with Xcode 6.3 ------------------------------------+------------------- Reporter: howarth.at.macports@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gcc49 | ------------------------------------+------------------- Comment (by howarth.at.macports@…): Note that if you plan to support building FSF gcc with the llvm.org clang compilers in MacPorts the proposed patch needs to be extended to capture clang 3.5 and later. -- Ticket URL: <https://trac.macports.org/ticket/47410#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47410: gcc49 @4.9.2_1: bootstrap comparison fails with Xcode 6.3 ------------------------------------+------------------- Reporter: howarth.at.macports@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gcc49 | ------------------------------------+------------------- Changes (by ryandesign@…): * cc: christopherbalz@… (added) Comment: Has duplicate #47419. -- Ticket URL: <https://trac.macports.org/ticket/47410#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#47410: gcc49 @4.9.2_1: bootstrap comparison fails with Xcode 6.3 ------------------------------------+------------------- Reporter: howarth.at.macports@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gcc49, libgcc | ------------------------------------+------------------- Changes (by ryandesign@…): * cc: pistopete@… (added) * port: gcc49 => gcc49, libgcc Comment: Has duplicate #47417. -- Ticket URL: <https://trac.macports.org/ticket/47410#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#47410: gcc49 @4.9.2_1: bootstrap comparison fails with Xcode 6.3 ------------------------------------+------------------- Reporter: howarth.at.macports@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gcc49, libgcc | ------------------------------------+------------------- Comment (by howarth.at.macports@…): FYI, the cause of the bug is that the described at http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of- Mon-20141222/250134.html. -- Ticket URL: <https://trac.macports.org/ticket/47410#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#47410: gcc49 @4.9.2_1: bootstrap comparison fails with Xcode 6.3 ------------------------------------+------------------- Reporter: howarth.at.macports@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gcc49, libgcc | ------------------------------------+------------------- Comment (by howarth.at.macports@…): Just to be clear, this is considered a defect in both llvm.org and Apple clang so no hack will be forthcoming from the FSF gcc developers. Upstream lllvm.org needs to eliminate this regression in the improper setting of the CIE version in the absence of debug flags. -- Ticket URL: <https://trac.macports.org/ticket/47410#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#47410: gcc49 @4.9.2_1: bootstrap comparison fails with Xcode 6.3 ------------------------------------+------------------- Reporter: howarth.at.macports@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gcc49, libgcc | ------------------------------------+------------------- Comment (by sears3@…): So basically no gcc version can be compiled until it's handled upstream? Effectively, new installs of macports are not happening for a while then (as I just figured out). Anybody ave a hack? -- Ticket URL: <https://trac.macports.org/ticket/47410#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#47410: gcc49 @4.9.2_1: bootstrap comparison fails with Xcode 6.3 ------------------------------------+------------------- Reporter: howarth.at.macports@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gcc49, libgcc | ------------------------------------+------------------- Comment (by larryv@…): Replying to [comment:4 howarth.at.macports@…]:
Note that if you plan to support building FSF gcc with the llvm.org clang compilers in MacPorts the proposed patch needs to be extended to capture clang 3.5 and later.
Is there a reason we can’t apply the workaround universally? -- Ticket URL: <https://trac.macports.org/ticket/47410#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#47410: gcc49 @4.9.2_1: bootstrap comparison fails with Xcode 6.3 ------------------------------------+------------------- Reporter: howarth.at.macports@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gcc49, libgcc | ------------------------------------+------------------- Comment (by howarth.at.macports@…): Replying to [comment:9 sears3@…]:
So basically no gcc version can be compiled until it's handled upstream? Effectively, new installs of macports are not happening for a while then (as I just figured out). Anybody have a hack/workaround?
No. You just have to explicitly pass '--with-build-config=bootstrap-debug' to configure when building with the clang 3.5 or later from llvm.org or with Apple clang 6.1. The code in configure that tests for proper debug code in object files is tripped up by this breakage in clang (where the wrong CIE version of dwarf 3 is emitted in the absence of debug flags). -- Ticket URL: <https://trac.macports.org/ticket/47410#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#47410: gcc49 @4.9.2_1: bootstrap comparison fails with Xcode 6.3 ------------------------------------+------------------- Reporter: howarth.at.macports@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gcc49, libgcc | ------------------------------------+------------------- Comment (by howarth.at.macports@…): Replying to [comment:11 larryv@…]:
Replying to [comment:4 howarth.at.macports@…]:
Note that if you plan to support building FSF gcc with the llvm.org clang compilers in MacPorts the proposed patch needs to be extended to capture clang 3.5 and later.
Is there a reason we can’t apply the workaround universally?
None other than it is completely unnecessary for the earlier clang compilers (and hopefully for later clang compilers once the bug is fixed). Gcc upstream is not going to work around the issue and expects llvm to fix their compilers. -- Ticket URL: <https://trac.macports.org/ticket/47410#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#47410: gcc49 @4.9.2_1: bootstrap comparison fails with clang-602.0.49 from Xcode 6.3 ------------------------------------+---------------------- Reporter: howarth.at.macports@… | Owner: larryv@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gcc49 libgcc | ------------------------------------+---------------------- Changes (by larryv@…): * owner: mww@… => larryv@… * status: new => assigned * port: gcc49, libgcc => gcc49 libgcc * cc: larryv@… (removed) * cc: mww@… (added) Comment: Taking over due to maintainer timeout. -- Ticket URL: <https://trac.macports.org/ticket/47410#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
#47410: gcc48 @4.8.4_0, gcc49 @4.9.2_1: bootstrap comparison fails with clang-602.0.49 from Xcode 6.3 ------------------------------------+---------------------- Reporter: howarth.at.macports@… | Owner: larryv@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gcc49 libgcc gcc48 | ------------------------------------+---------------------- Changes (by larryv@…): * port: gcc49 libgcc => gcc49 libgcc gcc48 Comment: Corroborated [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733#c9 a comment on GCC PR bootstrap/65733] that `gcc48` is also affected. `gcc47` @4.7.4_3 and `gcc5` @5-20150405 are not. -- Ticket URL: <https://trac.macports.org/ticket/47410#comment:15> MacPorts <https://www.macports.org/> Ports system for OS X
#47410: gcc48 @4.8.4_0, gcc49 @4.9.2_1: bootstrap comparison fails with clang-602.0.49 from Xcode 6.3 ------------------------------------+---------------------- Reporter: howarth.at.macports@… | Owner: larryv@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: gcc49 libgcc gcc48 | ------------------------------------+---------------------- Changes (by larryv@…): * status: assigned => closed * resolution: => fixed Comment: r135110 -- Ticket URL: <https://trac.macports.org/ticket/47410#comment:16> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts