Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2008 21:00:14 +0300
From:      Boris Samorodov <bsam@ipt.ru>
To:        freebsd-current@FreeBSD.org
Subject:   Strange behaviour of stock gcc FreeBSD 7/CURRENT
Message-ID:  <52573105@bb.ipt.ru>
In-Reply-To: <43645861@bb.ipt.ru> (Boris Samorodov's message of "Tue\, 08 Jan 2008 14\:31\:06 %2B0300")
References:  <43645861@bb.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52573105>