Re: Re: PHP 4.0 Bug #3090 Updated: Forgotten -lgcc in final link stage

From: Date: Mon, 20 Mar 2000 14:04:48 +0000
Subject: Re: Re: PHP 4.0 Bug #3090 Updated: Forgotten -lgcc in final link stage
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-17089@lists.php.net to get a copy of this message
On Sun, Mar 19, 2000 at 08:38:25PM -0800, Rasmus Lerdorf wrote: > > On Sun, Mar 12, 2000 at 04:04:09PM -0000, Bug Database wrote: > > > ID: 3090 > > > Updated by: sas > > > Reported By: dnehring@telemedia.de > > > Status: Analyzed > > > Bug Type: Feature/Change Request > > > Assigned To: > > > Comments: > > > > > > You should not mix executables/modules compiled with different compilers. > > > > > > Moving it to feature request. > > > > > > Full Bug description available at: Ö6ß>� a¬Tó > > > «6q6fhttp://bugs.php.net/version4/?id=3090 > > > > Uups, I do not think you understand the problem fully. gcc is using "ld" > > from the operating system by default, since it contains no own "ld". > > I am pretty sure Sascha understands. The problem you are having is that > you are linking libraries built with a compiler that is different from the > compiler you are using to compile PHP. Right. To be more specific, all executables/libraries created by gcc depend on the static libgcc.a. The front-end passes -lgcc to the link editor on all but one occasion. The result is that shared libraries are lacking some symbols from libgcc.a when you use another front-end beside gcc to build executables. - Sascha

« previous php.dev (#17089) next »