FPC build fails

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FPC build fails

denisgolovan
Hi all

I experience some strange issue, which I happen to find accidentally.
When I try to build fpc using "make -B all" (executing in fpc sources root), it crashes with following error.

$ make -B all
/bin/mkdir -p x86_64/units/x86_64-linux
/usr/local/lib64/fpc/source/compiler/ppc3 -Ur -Xs -O2 -n -Fux86_64 -Fusystems -Fu/usr/local/lib64/fpc/source/rtl/units/x86_64-linux -Fix86_64 -FE. -FUx86_64/units/x86_64-linux -Cg -dRELEASE -dx86_64 -dGDB -dBROWSERLOG -Fux86 -Sew -Owdevirtcalls,optvmts -Fw/usr/local/lib64/fpc/source/compiler/pp1.wpo -OWdevirtcalls,optvmts -FW/usr/local/lib64/fpc/source/compiler/pp2.wpo -dx86_64 -dGDB -dBROWSERLOG -Fux86 -Sew -FE. utils/msg2inc.pp
/usr/bin/ld: warning: ./link.res contains output sections; did you forget -T?
/usr/local/lib64/fpc/source/rtl/units/x86_64-linux/system.o: In function `SYSTEM$_$TINTERFACEDOBJECT_$__$$__RELEASE$$LONGINT':
system.pp:(.text+0x10a3f): undefined reference to `SYSUTILS$_$TMULTIREADEXCLUSIVEWRITESYNCHRONIZER_$__$$_DESTROY'
msg2inc.pp(823,1) Error: Error while linking
msg2inc.pp(823,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

It looks like there is some problem with makefiles as "make all" (without -B) works perfect.
Can it be reported as a bug?

P.S. Tested under Linux x64 using svn rev.23629

 --
Regards,
Denis Golovan
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal