Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-12

Internal error 200602261 when compiling a library

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Stefan v. d. Berg

Hello,

I'm trying to build some libraries, originally developed using Delphi 6, with the 2.1.1 Freepascal compiler (rev. 5723). A while back this used to work, but today the compiler gives me internal errors when compiling a library source file.

I've traced back the origin of the internal error to revision 5098, which is the revision where the error occurs first.

Regards,

Stefan

Jonas Maebe
to Stefan v. d. Berg
Stefan v. d. Berg wrote 7 lines
I'm trying to build some libraries, originally developed using Delphi 6, with the 2.1.1 Freepascal compiler (rev. 5723). A while back this used to work, but today the compiler gives me internal errors when compiling a library source file. I've traced back the origin of the internal error to revision 5098, which is the revision where the error occurs first.

As a workaround, try compiling with -Aas.

Jonas

Stefan v. d. Berg
to Jonas Maebe
Jonas Maebe wrote
As a workaround, try compiling with -Aas.

That seems to work when compiling a really, really small sample. I'll have to try this on the actual libraries, when I'm at my for the quick fix.

Stefan

Stefan van den Berg
to Jonas Maebe: As a workaround, try compiling with -Aas. Jonas
Jonas Maebe wrote
As a workaround, try compiling with -Aas.

That seems to work when compiling a really, really small sample. But now compiling and linking the actual libraries against shared packages seems to fail with the following error:

/usr/bin/ld: units/i386-linux/authorisationevents.o(.fpc+0x4b0): unresolvable R_386_32 relocation against symbol
`DEBUGINFO_IQAPPLICATION'
/usr/bin/ld: final link failed: Nonrepresentable section on output

I'm now trying to rebuild the whole toolchain (FPC, LCL, our own shared packages) and our libraries with -Aas and will see if that solves anything.

Stefan van den Berg
to Stefan van den Berg
Stefan van den Berg wrote
I'm now trying to rebuild the whole toolchain (FPC, LCL, our own shared packages) and our libraries with -Aas and will see if that solves anything.

Rebuilding the toolchain doesn't seem to be solving my problems. It seems, for now, I'll have to go back to revision 5097.

Stefan