comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: to Simon Wright, re Mac OS X builds
Date: Thu, 06 Oct 2016 20:08:55 +0100
Date: 2016-10-06T20:08:55+01:00	[thread overview]
Message-ID: <lyy4211eig.fsf@pushface.org> (raw)
In-Reply-To: e70665e3-8115-4ec3-8397-a7f01d51c245@googlegroups.com

Lucretia <laguest9000@googlemail.com> 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

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.


  reply	other threads:[~2016-10-06 19:08 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-03 15:14 to Simon Wright, re Mac OS X builds Lucretia
2016-10-06  7:57 ` Simon Wright
2016-10-06 10:54   ` Luke A. Guest
2016-10-06 16:30     ` Simon Wright
2016-10-06 16:41       ` Lucretia
2016-10-06 19:15         ` Simon Wright
2016-10-06 16:51       ` Lucretia
2016-10-06 19:09         ` Simon Wright
2016-10-06 14:38   ` Luke A. Guest
2016-10-06 16:23   ` Lucretia
2016-10-06 16:26   ` Lucretia
2016-10-06 16:29     ` Lucretia
2016-10-06 16:54       ` Simon Wright
2016-10-06 17:14         ` Lucretia
2016-10-06 18:13           ` Lucretia
2016-10-06 19:08             ` Simon Wright [this message]
2016-10-06 19:29               ` Lucretia
2016-10-06 22:16                 ` Lucretia
2016-10-07  7:26                   ` Simon Wright
2016-10-07  9:24                     ` Luke A. Guest
2016-10-07 13:20                       ` Simon Wright
2016-10-08 11:28                       ` Lucretia
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox