Strange behaviour of stock gcc FreeBSD 7/CURRENT

From: Boris Samorodov <bsam_at_ipt.ru>
Date: Thu, 10 Jan 2008 21:00:14 +0300
Hello List,


it's too noisy here today. And may be someone may anwer the question,
thanks.

On Tue, 08 Jan 2008 14:31:06 +0300 Boris Samorodov wrote:

> I've just noticed some new patches for OpenOffice.org which contains:
> -----
> +Strange behaviour of stock gcc of FreeBSD 7.
> +
> +# gcc -print-file-name=libgcc_s.so
> +/usr/lib/libgcc_s.so
> +# gcc -print-file-name=libgcc_s.so.1
> +libgcc_s.so.1
> +. This sould be
> +# gcc -print-file-name=libgcc_s.so.1
> +/lib/libgcc_s.so.1
> +
> +However gcc42 from ports behaves correctly;
> +and
> +# gcc42 -print-file-name=libgcc_s.so.1
> +/usr/local/lib/gcc-4.2.3/gcc/i386-portbld-freebsd7.0/4.2.3/../../../libgcc_s.so.1
> +# gcc42 -print-file-name=libgcc_s.so
> +/usr/local/lib/gcc-4.2.3/gcc/i386-portbld-freebsd7.0/4.2.3/../../../libgcc_s.so
> +.
> -----

> It's true for both i386 and amd64 CURRENT. For i386:
> -----
> tb% uname -a
> FreeBSD tb.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Jan  5 15:55:54 MSK 2008     root_at_tb.ipt.ru:/usr/obj/usr/src/sys/GENERIC  i386
> tb% gcc -print-file-name=libgcc_s.so
> /usr/lib/libgcc_s.so
> tb% gcc -print-file-name=libgcc_s.so.1
> libgcc_s.so.1
> tb% 
> -----

> Is it a known bug/feature/else? Thanks!


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
Received on Thu Jan 10 2008 - 17:01:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:25 UTC