Failed to install libgcc9: no destroot found

Bill Cole macportsusers-20171215 at billmail.scconsult.com
Fri Sep 27 21:28:41 UTC 2019


On 27 Sep 2019, at 16:51, Chris Jones wrote:

>> On 27 Sep 2019, at 9:28 pm, Vahid Askarpour <vh261281 at dal.ca> wrote:
>>
>> ´╗┐When I upgraded to Majove and installed Xcode 11.1, I ended up 
>> with gcc-4.2.1 and libgcc in /usr/bin and /usr/lib. Before, when I 
>> had High Sierra, I was running xcrysden with no issues.
>
> That makes no sense at all. MacOS does not ship gcc,

What exactly does that sentence mean?

On my Mojave machine:

$ /usr/bin/gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.0 (clang-1100.0.33.8)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

It's not technically The Real GCC, but it is an executable binary at 
/usr/bin/gcc why acts a lot like GCC 4.2.1.

Also:

$ ls -l /usr/lib/libgcc*
lrwxr-xr-x  1 root  wheel  15 Sep 25 08:41 /usr/lib/libgcc_s.1.dylib -> 
libSystem.dylib

Which is profoundly "Not Really LibGCC" but it is apparently close 
enough.

On High Sierra:

$ /usr/bin/gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

$ ls -l /usr/lib/libgcc*
lrwxr-xr-x  1 root  wheel     17 Sep 19  2018 /usr/lib/libgcc_s.1.dylib 
-> libSystem.B.dylib
lrwxr-xr-x  1 root  wheel     19 Oct 15  2018 
/usr/lib/libgcc_s.10.4.dylib -> libgcc_s.10.5.dylib
-rwxr-xr-x  1 root  wheel  30948 Oct  6  2017 
/usr/lib/libgcc_s.10.5.dylib

THAT is interesting...

$ otool -L  /usr/lib/libgcc_s.10.5.dylib
/usr/lib/libgcc_s.10.5.dylib:
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 
795.0.0)

Oh, OK, not really very interesting, just baroque...

(El Cap is very similar)

-- 
Bill Cole
bill at scconsult.com or billcole at apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire


More information about the macports-users mailing list