From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Warning message in macOS Mojave Date: Thu, 27 Sep 2018 09:40:15 +0100 Organization: A noiseless patient Spider Message-ID: References: <0001HW.215A68D3001C54E170000EAB02EF@news.individual.net> <0001HW.215AD2B600F20B6470000D3692CF@news.individual.net> <0001HW.215BBF1B0129732470000D3692CF@news.individual.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="d0d153ca97ec1112fefeeeda5ab80b37"; logging-data="16845"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fn34hORGK6K748FNX4yknva4fM6dJbnE=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:iUH45tE+4m3ORmpxNSMgCw39z7M= sha1:LKpDX2xkshT2BG8Kh5nkFXd+ByY= Xref: reader02.eternal-september.org comp.lang.ada:54431 Date: 2018-09-27T09:40:15+01:00 List-Id: Bill Findlay writes: > I am using GNAT CE 2018, with a new unmodified Mojave install on my 2017 MBP. I installed Mojave over High Sierra on an external USB. > The same. What about: > >> $ cksum /usr/lib/libSystem.B.dylib >> 638756186 60880 /usr/lib/libSystem.B.dylib The same. > I am using the build command: > >> gnatmake -aI../Source -aO../Build -funwind-tables -gnatl12j96 >> -gnatw.e -gnatwD -gnatwH -gnatwP -gnatwT -gnatw.W -gnatw.B -gnatwC >> -gnatw.u -gnatyO -gnatw.Y -fdata-sections -ffunction-sections -gnatfn >> -mtune=native -O3 -flto -j0 ee9 -bargs -static -Sin -largs >> -Wl,-dead_strip -Wl,-dead_strip -flto > > LTO has been dodgy in the past, but removing that option still results > in the warning. Some build command! Remind me where your ee9 sources are? I've been using just hello.adb for this check. I don't think that -fdata-sections, -ffunction-sections are useful on macOS, because Apple's clang ld doesn't support -gc-sections.