Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2003 01:28:54 +0900 (JST)
From:      Norikatsu Shigemura <nork@ninth-nine.com>
To:        freebsd-current@FreeBSD.org
Cc:        nectar@FreeBSD.org
Subject:   Re: getgrnam(3) core dump problem
Message-ID:  <200304221628.h3MGSsn8005661@nd250009.gab.xdsl.ne.jp>
In-Reply-To: <200304221559.h3MFxxn8004984@nd250009.gab.xdsl.ne.jp>
References:  <200304221532.h3MFWBn8004350@nd250009.gab.xdsl.ne.jp> <20030422153450.GA548@madman.celabo.org> <200304221559.h3MFxxn8004984@nd250009.gab.xdsl.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 23 Apr 2003 00:59:59 +0900 (JST)
I wrote:
> 	I am compiling with CPUTYPE=p3.  I am trying to compile libc with
> 	NO_CPUTYPE_FLAGS=YES.

	I recompiled libc and sample program with NOPROFILE=YES(for time) and
	NO_CPU_CFLAGS=YES.  Humm.. This problem is solved...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	:
cc -O -fno-ident -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD  -c crypt_clnt.c -o crypt_clnt.o
cc -fpic -DPIC -O -fno-ident -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD  -c crypt_clnt.c -o crypt_clnt.So
building static c library
building shared library libc.so.5
building special pic c library
ranlib libc_pic.a
ranlib libc.a
# cd /tmp
# gcc -g3 a.c -L/usr/obj/usr/src/lib/libc -R/usr/obj/usr/src/lib/libc
# ldd ./a.out
./a.out:
	libc.so.5 => /usr/obj/usr/src/lib/libc/libc.so.5 (0x6806b000)
# ./a.out 
# 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



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