G'day all,

I've been chasing an odd fault since I upgraded to the latest lazarus in combination with fpc 2.4.1 (both compiled from svn source).

My host/target is i386 linux with the gtk2 widgetset.

Lazarus 0.9.29 r23360 FPC 2.4.1 i386-linux-gtk 2 (beta)

The crux is if I enable generation of gprof data (-pg) in the Compiler Options -> Linking dialog box, any gtk2 app will segfault while initialising. Took me a while to track down as for some reason my project had this set, but I don't use it when I compile using my own makefile.

To reproduce it here, I simply create a new application, check that box and hit run. It will segfault immediately. Without -pg set everything performs perfectly.

Now, I don't (have never) use gprof, so I'm not even sure why I set it in the first place, but I thought I might post about it in case it catches someone else out. It of course used to work perfectly with the 2.2.5 compiler.

Regards,
Brad
--
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to