check_ping of nagios plugin 1.4.12 dumps os 11.3 after compiling with gcc 4.5.0


I’ve used nagios 3.1.3 and nagios plugins 1.4.12 on os 10.3 and 11.2.
Becaus of new mysql libs I had to compile the whole stuff on os 11.3.
Now the check_ping plugin dumps with Segmentation fault, while the old version compiled on os 10.3 works fine.
Is this a known issue?