Opened 5 years ago
Closed 3 years ago
#59083 closed defect (fixed)
gcc8 (gfortran) and Xcode 11 problem
Reported by: | m214089 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.0 |
Keywords: | Cc: | michaellass (Michael Lass) | |
Port: | gcc8 |
Description
gfortran does not find -lSystem anymore.
gfortran has the following syslibroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/
but Xcode 11 provides only
ls -l /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
total 0 drwxr-xr-x 4 root wheel 128 Aug 30 08:47 DriverKit19.0.sdk drwxr-xr-x 8 root wheel 256 Aug 30 08:47 MacOSX.sdk lrwxr-xr-x 1 root wheel 10 Sep 23 09:34 MacOSX10.15.sdk -> MacOSX.sdk
Change History (5)
comment:1 Changed 5 years ago by michaellass (Michael Lass)
Cc: | michaellass added |
---|
comment:2 Changed 5 years ago by DavidSagan (David Sagan)
comment:3 Changed 5 years ago by DavidSagan (David Sagan)
Adding "-L/usr/lib" to the compile line gets around the problem.
comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
There are many other tickets about the 10.14/10.5 SDK mismatch problem.
comment:5 Changed 3 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I believe this has been fixed now by changes in base and the noted ports to spec an existing SDK.
please reopen with new information if you find this is still and issue.
Note: See
TracTickets for help on using
tickets.
I am also having the same problem with gcc5 and gcc6. Also using Xcode 11 on Mojave.