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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.157.52.34 with SMTP id v31mr4229804otb.60.1475782145500; Thu, 06 Oct 2016 12:29:05 -0700 (PDT) X-Received: by 10.157.55.181 with SMTP id x50mr1812492otb.7.1475782145462; Thu, 06 Oct 2016 12:29:05 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!o19no678592ito.0!news-out.google.com!203ni1940itk.0!nntp.google.com!l13no673369itl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 6 Oct 2016 12:29:05 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:3cda:7600:932b:b705:6315:5a80; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3cda:7600:932b:b705:6315:5a80 References: <4a4cee95-52e4-42c6-b4bb-a8146744bafd@googlegroups.com> <9f2f108e-9f8d-4ba2-86ad-ca5baae7c771@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7d6e52e2-af45-4a9b-904f-be2504e3eb02@googlegroups.com> Subject: Re: to Simon Wright, re Mac OS X builds From: Lucretia Injection-Date: Thu, 06 Oct 2016 19:29:05 +0000 Content-Type: text/plain; charset=UTF-8 X-Received-Bytes: 2716 X-Received-Body-CRC: 2758890347 Xref: news.eternal-september.org comp.lang.ada:32026 Date: 2016-10-06T12:29:05-07:00 List-Id: On Thursday, 6 October 2016 20:08:56 UTC+1, Simon Wright wrote: > Lucretia writes: > > > On Thursday, 6 October 2016 18:14:28 UTC+1, Lucretia wrote: > > > >> Aaaaand, that seems to be working. Thanks! Should be able to build an > >> iPhone compiler once this is done, Fun times! > > > > I do wonder whether it should use the system libstdc++ rather than > > build the gcc one. > > Building against the gcc one causes problems when some of the symbols > aren't defined in the system one. > > build/genpreds -h ../../gcc-6.1.0/gcc/common.md ../../gcc-6.1.0/gcc/config/i386/i386.md > tmp-preds.h > dyld: Symbol not found: __ZdlPvm > Referenced from: /Users/simon/tmp/gcc-6.1.0-build/gcc/build/genpreds (which was built for Mac OS X 10.11) > Expected in: /usr/lib/libstdc++.6.dylib > in /Users/simon/tmp/gcc-6.1.0-build/gcc/build/genpreds I just had this exact error! > > which I fixed by moving the just-built GCC libstdc++.6.dylib to the > place it's expected to be, in my case /opt/gcc-6.1.0/lib, and then > carrying on with the build. > > I haven't reported this; perhaps -static-libstdc++ needed in > --with-boot-ldflags? This is a complicated and timeconsuming area to > investigate. I'll try it.