Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2000 15:18:33 -0700
From:      Jason Evans <jasone@canonware.com>
To:        Sergey Mokryshev <mokr@mokr.ru>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: libc_r broken (RELENG_3)?
Message-ID:  <20000915151833.F7247@blitz.canonware.com>
In-Reply-To: <023f01c01da5$3210e030$c31c10d4@intranet.neptune.ru>; from mokr@mokr.ru on Wed, Sep 13, 2000 at 09:08:05PM %2B0400
References:  <023f01c01da5$3210e030$c31c10d4@intranet.neptune.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 13, 2000 at 09:08:05PM +0400, Sergey Mokryshev wrote:
> Hi!
> 
> It seems that libc_r.so was broken after September, 6 (RELENG_3).
> 
> When I try to compile db3 from ports:
> 
> /usr/ports/databases/db3$ make
> [Skipped]
> configure:1175: checking whether the C compiler (cc -O2 -pipe ) works
> configure:1191: cc -o conftest -O2 -pipe -D_THREAD_SAFE -pthread
> conftest.c  1
> >&5
> /usr/lib/libc_r.so: undefined reference to `_fcntl'
> configure: failed program was:
> 
> #line 1186 "configure"
> #include "confdefs.h"
> 
> main(){return(0);}
> (end of "config.log")
> *** Error code 1
> [Skipped]
> 
> 
> $ls -l /usr/lib/libc_r.so.4
> -r--r--r--  1 root  wheel  603290 Sep 12 23:28 /usr/lib/libc_r.so.4
> $ nm -u /usr/lib/libc_r.so.4
> __progname
> _fcntl
> environ
> $
> 
> On the other machine:
> 
> ls -l /usr/lib/libc_r.so.4
> -r--r--r--  1 root  wheel  611799 Sep  6 02:33 /usr/lib/libc_r.so.4
> $ nm -u /usr/lib/libc_r.so.4
> __progname
> environ

My first guess is that someone merged some libc changes back to RELENG_3,
and didn't convert _fcntl() calls to fcntl() calls.  I don't have a
RELENG_3 box running anymore, so I can't really work on fixing this.  If
you can find the commit that caused the breakage, please submit a PR with a
tested patch and I'll commit it.

Thanks,
Jason


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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