[fpc-devel] Assembler issue on bootstrapper

Sven Barth pascaldragon at googlemail.com
Sat Dec 21 22:24:07 CET 2019


Am 21.12.2019 um 17:45 schrieb J. Gareth Moreton:
> Hi everyone,
>
> I'm not sure if this counts as a bug or not, or if it is, if it's 
> worth fixing.  When I attempt to bootstrap the compiler with OPT="-a" 
> to dump the assembler files (I have my reasons!), it fails when 
> building the fcl-pdf package on sharepoint.pp - it gives the error: 
> "C:\lazarus64\fpc\3.0.4\bin\x86_64-win64\as.exe: unrecognized option 
> `-mbig-obj'"
>
> Any way to address this?

3.0.4 is shipped with Binutils of version 2.22, however for the big obj 
support at least binutils 2.25 is required. The upcoming 3.2.0 release 
will contain 2.28. To update them yourselves you can retrieve them from 
the fpcbuild repository (important ones are as.exe and ld.exe):
- for Win64: 
https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/install/binw64/?root=fpcbuild
- for Win32: 
https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/install/binw32/?root=fpcbuild

Regards,
Sven


More information about the fpc-devel mailing list