Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-09

Build of Lazarus fails on Mac with STABS error (perhaps because of MacOSX 10.11??)

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Schindler Karl-Michael

Hi

Show quoted text 26 lines
Am 30.09.2015 um 19:31 schrieb : Date: Wed, 30 Sep 2015 16:37:38 +0200 From: Michael Ring Subject: Re: [Lazarus] Build of Lazarus fails on Mac with STABS error (perhaps because of MacOSX 10.11??) To: Lazarus mailing list Message-ID: Content-Type: text/plain; charset="windows-1252"; Format="flowed" I am not sure if I understand correctly what you mean. Is there a way to pass -gw with the help of lazbuild? I checked, but did not find anything obious. The only other option would be to fix all Makefiles with a sed script (there is quite a number of -g in the Makefiles) this works of course but it would be better to have this solved in a another way. Do you know if Stabs for Mac is only removed on trunk or also removed in 3.0? 3.0 will some day get officially supported compiler for building lazarus, but not trunk. Michael

To the best of my capabilities I have resolved this issue in the fink packages for lazarus 1.4.2 and fpc 2.6.4.The package descriptions contain all required changes, but also some more. In short, the following change in the source code needs to be applied:

sed -i.bak "s|GenerateDwarf/Value', false|GenerateDwarf/Value', true|g" ide/compileroptions.pp

Then compile the sources with:

make clean bigide LCL_PLATFORM=carbon OPT="-gl -gw" PP=ppc386 CPU_TARGET=i386 CPU_SOURCE=i386

and install it with:

make install

So, it does not require fpc 3.0 or even svn-trunk.

Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150930/f3edc541/attachment.bin>

Reply by email

Sven Barth
to Schindler Karl-Michael

Am 30.09.2015 20:59 schrieb "Schindler Karl-Michael" <

: So, it does not require fpc 3.0 or even svn-trunk.

Yes, it does not /require/ 3.0 or trunk, but trunk (and also 3.0) will have the problem solved by only supporting dwarf for Mac OS X, thus -gl will (should?) default to dwarf by itself.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150930/77787543/attachment.html>

Reply by email

Michael Ring
to Sven Barth

Thank you both for the information, I tried Michael's workarround, it did not work for me.

What worked in the end was using latest 3.0.1 compiler with lazbuild.

Michael

Sven Barth wrote 19 lines
Am 30.09.2015 20:59 schrieb "Schindler Karl-Michael" < <mailto:>>: > So, it does not require fpc 3.0 or even svn-trunk. Yes, it does not /require/ 3.0 or trunk, but trunk (and also 3.0) will have the problem solved by only supporting dwarf for Mac OS X, thus -gl will (should?) default to dwarf by itself. Regards, Sven -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150930/d741ca15/attachment.html>

Reply by email