This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: build failure on i[56]86


On Sat, Feb 10, 2001 at 06:10:42PM +0100, Andreas Jaeger wrote:
> Ben Collins <bcollins@debian.org> writes:
> 
> > On i[56]86, dl-procinfo.o is not built, and thus ldconfig fails to
> > link missing symbols found in that file. Building for i386 works fine.
> > My CFLAGS include -mcpu=i[56]86, and I'm using these config options:
> 
> sysdeps/unix/sysv/linux/i386/Makefile contains:
> # extra shared linker files to link into dl-allobjs.so and libc
> sysdep-dl-routines += dl-procinfo
> sysdep_routines += dl-procinfo
> 
> Therefore you should get everythink.

Should. And yes it does if I don't have -mcpu=i[56]86. Note,
sysdeps/unix/sysv/linux/i386 is included in sysdeps.

> > 
> > --host=i386-linux --build=i386-linux --prefix=/usr --without-cvs
> Why are you specifying both --host and --build?  Are you sure that
> you're not building a cross-glibc?

I've been doing this exact same build for several months now. Nothing in
my build setup has changed (other than moving from gcc 2.95.2 to 2.95.3,
but for the Debian compiler, that was a minor change). The above was
taken from config.status, so actually I just passed --host=i386-linux.
No, I am not building a cross-glibc. I can't see how that can happen,
and like I said, nothing in my build setup has changed from 2.1.97 to
now (IOW, the config options). This is the Debian package build
setup, not a manual compile (IOW, all the config and build are scripted,
and haven't changed).

> > --disable-profile --with-headers=/usr/src/kernel-headers-2.4.2/include
> > --enable-kernel=2.0.30 --enable-add-ons=linuxthreads
> > 
> > Compiler is gcc 2.95.3-test. This has worked in the past (with 2.2 and
> > 2.2.1), but not with current CVS (and no, there are no empty files
> > laying around now :)
> 
> Please send all the information glibcbug shows,

Host type: i386-pc-linux-gnu
System: Linux krikey 2.4.1-pre8 #2 Tue Jan 23 11:18:28 EST 2001 i686
unknown
Architecture: i686

Addons: linuxthreads

Build CC: gcc
Compiler version: gcc version 2.95.3 20010125 (prerelease)
Kernel headers: UTS_RELEASE
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: yes
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio

I'm using 2.4.2-pre2 kernel headers.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]