Page 1 of 1

Error: linker: error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs

Posted: 02.10.2024, 11:22
by danielsap
Hi
I tried to compile Zeoslib 8.0 packages in Lazarus 3.7 on MacOS Sequoia 15.0
It started well with successful compiling of zcore, zparsesql, zplain
Unfortunately when compiling zdbc I receive multiple errors

Do you have some ideas what is the issue and how to handle it.
Regards

Code: Select all

11491(114911,0) Error: linker: error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs
Error: _$ZDBCRESULTSET$_Lj1144:
Error: ^
11442(114421,0) Error: linker: error: previous .cfi_startproc was here
Error: .cfi_startproc
Error: ^
11563(115631,0) Error: linker: error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs
Error: _$ZDBCRESULTSET$_Lj1149:
Error: ^
11442(114421,0) Error: linker: error: previous .cfi_startproc was here
Error: .cfi_startproc
Error: ^
11651(116511,0) Error: linker: error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs
Error: _$ZDBCRESULTSET$_Lj1161:
Error: ^
11602(116021,0) Error: linker: error: previous .cfi_startproc was here
Error: .cfi_startproc
Error: ^
11719(117191,0) Error: linker: error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs
Error: _$ZDBCRESULTSET$_Lj1166:
Error: ^
11602(116021,0) Error: linker: error: previous .cfi_startproc was here
Error: .cfi_startproc
Error: ^
ZDbcResultSet.pas(5662,0) Error: Error while assembling exitcode 1

Re: Error: linker: error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs

Posted: 06.10.2024, 15:26
by marsupilami
Hello,

to me this looks like a code generation issue in FPC. Unfortunately I don't have an Apple computer to test these things on. Which version of FPC do you use? Do you have a current XCode environment installed?

Best regards,

Jan