Opened 10 years ago
Closed 9 years ago
#45449 closed defect (fixed)
apple-gcc42 @5666.3_14, llvm-gcc42 @2336.11_1: can't build on Yosemite
Reported by: | elbert.castaneda@… | Owned by: | larryv (Lawrence Velázquez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | yosemite | Cc: | ryandesign (Ryan Carsten Schmidt), mamoll (Mark Moll), bgschaid@…, abinici (Ayhan Binici), jon_schang@… |
Port: | apple-gcc42 llvm-gcc42 |
Description
- I install Yosemite MacOS Version today
- I Install MacPorts for this MacOS Version(Yosemite)
- I execute this command : sudo xcode-select --install
- I execute this command for upgrade all packages and here it's the problem: sudo port upgrade outdated
- Error: apple-gcc42 is not supported on Yosemite or later.
- Error: org.macports.fetch for port apple-gcc42 returned: unsupported platform
Attachments (1)
Change History (19)
comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | apple-gcc42 removed |
Milestone: | MacPorts 2.3.2 |
Owner: | changed from macports-tickets@… to jeremyhu@… |
Port: | apple-gcc42 added |
comment:2 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
It will not be supported on Yosemite. Developers have had many many years to update their software for newer compilers. If you still need gcc 4.2 for some reason, please file a bug with llvm.org indicating what the issues are with clang that you need fixed.
Changed 10 years ago by jhowarth@…
Attachment: | llvm-gcc42-yosemite.patch added |
---|
patch to solve llvm-gcc42 build problems on 10.10
comment:3 Changed 10 years ago by jhowarth@…
On fink, I have solved our llvm-gcc42 build problems with the attached patch. The first part of the patch is a back port of the upstream fix for the __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
support...
http://permalink.gmane.org/gmane.comp.gcc.cvs/164573
and the second half adds a fixincludes entry to work around the problematic conditionals in the xpc/base.h system header by hardcoding those to
if 0
The existing packaging in fink for llvm-gcc42 builds fine under 10.10.0 with this patch applied.
comment:4 Changed 10 years ago by jhowarth@…
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
comment:5 Changed 10 years ago by jhowarth@…
There is one additional section to the patch that modifies the sed in llvmgcc42-2336.11/llvmCore/Makefile.rules that sets DARWIN_VERSION and DARWIN_MAJVERS. I suspect that change is only valid for 10.10 and later so you will only want to apply the patch for those releases.
comment:7 Changed 10 years ago by mamoll (Mark Moll)
The attached patch (minus the patch to llvmgcc42-2336.11/llvmCore/Makefile.rules) makes llvm-gcc42 compile for me. Thanks! I need it to compile gccxml-devel.
comment:8 follow-up: 10 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)
What was the source of the attached patch? If it was upstream gcc, it is not acceptable as it is GPL3.
Please base your changes on the version I provided in apple-gcc42, yosemite-deployment-target.patch
comment:9 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Also, your patch says "The lowest digit is always zero, as is the second lowest for '10.10.x' and above." which is an incorrect assumption to make.
comment:10 Changed 10 years ago by larryv (Lawrence Velázquez)
Replying to jeremyhu@…:
What was the source of the attached patch? If it was upstream gcc, it is not acceptable as it is GPL3.
It looks to be largely derived from the upstream fix.
comment:11 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Owner: | changed from jeremyhu@… to larryv@… |
---|---|
Status: | reopened → new |
To larryv to fix using the changes from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63810 if desired or closed as NTBF if not.
comment:12 Changed 10 years ago by larryv (Lawrence Velázquez)
Port: | llvm-gcc42 added |
---|
comment:13 Changed 10 years ago by larryv (Lawrence Velázquez)
Summary: | Error: apple-gcc42 is not supported on Yosemite or later. → apple-gcc42 @5666.3_14, llvm-gcc42 @2336.11_1: can't build on Yosemite |
---|
comment:17 Changed 9 years ago by larryv (Lawrence Velázquez)
Status: | new → assigned |
---|
comment:18 Changed 9 years ago by larryv (Lawrence Velázquez)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Correct. Sorry, this port is not supported on Yosemite right now. Are you sure you need it?