Sign in Join

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

Mailing lists / fpc-devel / 2019-03

Running test suite linker error (mac)

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Ryan Joseph

This same problem of the missing crt1.10.5.o file on macOS 10.14 is now affecting running the test suite. I have no idea what changed because this worked just a couple weeks ago.

When building with FPC now I need to include a search path with -Fl/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib but I’m not able to do this with the tests.

make full TEST_FPC=/Developer/ObjectivePascal/fpc-git/compiler/x86_64/pp OPT="-Fl/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib”

[…]
/Developer/ObjectivePascal/fpc-git/compiler/x86_64/pp fpmake.pp -n -Fu../packages/fpmkunit/units_bs/x86_64-darwin -Fu../rtl/units/x86_64-darwin -Fd -n ld: file not found: /usr/lib/crt1.10.5.o

Regards,
Ryan Joseph

Reply by email

Jonas Maebe
to Ryan Joseph
Ryan Joseph wrote 5 lines
This same problem of the missing crt1.10.5.o file on macOS 10.14 is now affecting running the test suite. I have no idea what changed because this worked just a couple weeks ago. When building with FPC now I need to include a search path with -Fl/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib but I’m not able to do this with the tests. make full TEST_FPC=/Developer/ObjectivePascal/fpc-git/compiler/x86_64/pp OPT="-Fl/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib”

The options used by the test compiler come from TEST_OPT rather than from OPT

Jonas

Reply by email