[fpc-pascal] no_dead_strip not recognized by OS X 10.3 assembler

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Oct 29 11:08:48 CET 2007


On 29 Oct 2007, at 11:03, Tobias Giesen wrote:

> I am now trying the latest Lazarus snapshots on OS X 10.3 on a powerpc
> Mac. The application compiles 99% fine but at the end it fails with  
> the
> following errors (from the assembler, I assume):
>
> unknown section attribute: no_dead_strip
> [...]
> Error while assembling Exit Code 1
>
> Is there a solution for this problem?

Yes, add the -CX- -X- command line options. Dead code stripping is  
not supported by the 10.3 assembler/linker. The compiler has however  
no clue on which OS version it is running, so if Lazarus tells it to  
generate smart linkable code, it will do so.


Jonas



More information about the fpc-pascal mailing list