Sign in Join

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

Mailing lists / fpc-devel / 2009-02

Linker crash

7 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Martin Schreiber

Hi,
The Suse 11.1 i386 supplied linker crashes with FPC produced objects. Example linking the DE-resource unit in MSEgui i18ndemo: "
./ppas.sh
Linking libi18ndemo_de.so
./ppas.sh: line 10: 4825 Segmentation fault /usr/bin/ld -b elf32-i386 -m elf_i386 -init FPC_LIB_START -fini FPC_LIB_EXIT -soname libi18ndemo_de.so -shared -L. -o libi18ndemo_de.so link.res An error occurred while linking libi18ndemo_de.so
"
"
ld --version
GNU ld (GNU Binutils; openSUSE 11.1) 2.19
"
It happens with FPC 2.2.2 and fixes_2_2.

Yes, I now that this is not a FPC problem but possibly someone finds the information useful.
No, I don't want to submit a binutils bug report, I don't like to be beaten by the Linux gurus.

Martin

Reply by email

Jonas Maebe
to Martin Schreiber
Martin Schreiber wrote
Yes, I now that this is not a FPC problem but possibly someone finds the information useful.

There are also already a couple of bug reports about this in our bug tracker.

No, I don't want to submit a binutils bug report, I don't like to be beaten by the Linux gurus.

I've never been "beaten by the Linux gurus" for submitting Pascal- related bug reports to gdb, or by discussing them on the gdb Archer project list (someone from Red Hat recently fixed a bug in the gdb Archer branch that only affected dwarf debug information generated by FPC for Mac OS X -- i.e., not by gcc on any platform, and only on Mac OS X when using FPC). See http://thread.gmane.org/gmane.comp.debugging.archer/756

So please drop your prejudices. When submitting a bug report with them, simply give as much information as possible so they can easily reproduce it (preferably without having to install FPC, which shouldn't be too difficult for a linker bug when using the -Cn compiler switch). I'm not aware of any binutils/gdb developers (there's some overlap) having an axe to grind with Pascal or non-gcc compilers.

And if they say it's something that FPC does wrong, simply submit an FPC bug report so we can look into it.

Jonas

Reply by email

Martin Schreiber
to Jonas Maebe
Jonas Maebe wrote 8 lines
I've never been "beaten by the Linux gurus" for submitting Pascal- related bug reports to gdb, or by discussing them on the gdb Archer project list (someone from Red Hat recently fixed a bug in the gdb Archer branch that only affected dwarf debug information generated by FPC for Mac OS X -- i.e., not by gcc on any platform, and only on Mac OS X when using FPC). See http://thread.gmane.org/gmane.comp.debugging.archer/756

Probably because you have the skills and technical background to talk with them on the same level and with the same language, I can't do that. :-(

Martin

Reply by email

Jonas Maebe
to Martin Schreiber
Martin Schreiber wrote 14 lines
On Monday 02 February 2009 12:00:07 Jonas Maebe wrote: > I've never been "beaten by the Linux gurus" for submitting Pascal- > related bug reports to gdb, or by discussing them on the gdb Archer > project list (someone from Red Hat recently fixed a bug in the gdb > Archer branch that only affected dwarf debug information generated by > FPC for Mac OS X -- i.e., not by gcc on any platform, and only on Mac > OS X when using FPC). See > http://thread.gmane.org/gmane.comp.debugging.archer/756 > Probably because you have the skills and technical background to talk with them on the same level and with the same language, I can't do that. :-(

I don't see any beating here either:
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=412927
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509873
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473955

Even if they disagree, you just get the facts as they see it: https://bugzilla.novell.com/show_bug.cgi?id=333366

Really, developers (Linux or otherwise) that deal with this sort of bugs generally won't bite your or anyone else's head off just because you use Pascal or a non-FSF compiler.

Jonas

Reply by email

Martin Schreiber
to Jonas Maebe
Jonas Maebe wrote 12 lines
I don't see any beating here either: * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=412927 * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509873 * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473955 Even if they disagree, you just get the facts as they see it: https://bugzilla.novell.com/show_bug.cgi?id=333366 Really, developers (Linux or otherwise) that deal with this sort of bugs generally won't bite your or anyone else's head off just because you use Pascal or a non-FSF compiler.

OK, I'll try it.
Where should I report? At Suse because it is a Suse patched ld?

Martin

Reply by email

Jonas Maebe
to Martin Schreiber
Martin Schreiber wrote 15 lines
On Monday 02 February 2009 16:01:06 Jonas Maebe wrote: > I don't see any beating here either: > * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=412927 > * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509873 > * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473955 > > Even if they disagree, you just get the facts as they see it: > https://bugzilla.novell.com/show_bug.cgi?id=333366 > > Really, developers (Linux or otherwise) that deal with this sort of > bugs generally won't bite your or anyone else's head off just because > you use Pascal or a non-FSF compiler. > OK, I'll try it. Where should I report? At Suse because it is a Suse patched ld?

That's indeed your best bet. Here's their bug reporting portal: http://en.opensuse.org/Submitting_Bug_Reports

Thanks,

Jonas

Reply by email