Error: undefined reference to `.Lj9'
Original Reporter info from Mantis: silvioprog
-
Reporter name: silvioprog
Original Reporter info from Mantis: silvioprog
- Reporter name: silvioprog
Description:
Hi.
The attached code compiles fine in FPC 3.0.4 for Windows and in Delphi Tokyo, but it fails in latest (from trunk) FPC for Linux at linking time:
Compile Project, Target: test: Exit code 256, Errors: 1 Free Pascal Compiler version 3.1.1 [2018/09/05] for x86_64 Copyright (c) 1993-2018 by Florian Klaempfl and others Target OS: Linux for x86-64 Compiling test.dpr Linking bug/test bug/lib/x86_64-linux/test.o: In function `BAR': bug//test.dpr:25: undefined reference to `.Lj9' test.dpr(31,1) Error: Error while linking
Steps to reproduce:
Just download and try to compile the attached test in FPC on Linux x86_64.
Additional information:
Environment: Free Pascal Compiler version 3.1.1 [2018/09/05] for x86_64.
It shows 3.1.1 but it was compiled from trunk. Mantis doesn't provide the 3.1.1 option, so I chose 3.3.1.
Mantis conversion info:
- Mantis ID: 34316
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 42987 (#ef6dde6d)