[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: i386 miscompile



On Wed, Oct 02, 2002 at 11:55:53PM +0900, GOTO Masanori wrote:

> > FYI - I ran some tests this morning before work and the regular
> > glibc package still miscompiles ldconfig, but a regular
> > "../glibc-2.2.94/configure --prefix=/usr --enable-add-ons; make"
> > compile works fine.

> > I should now have a good set of object files to compare, though.
> > Hopefully I'm close.

> Intersting -- So, the problem is _not_ gcc/something but libc6
> package's debian patches?

No - it's weirder than that.  I did my usual:

cp -a glibc-package glibc-2.2.94
find glibc-2.2.94 -name CVS | rm -rf
cd glibc-2.2.94
dpkg-buildpackage "-mJeff Bailey <jbailey@nisa.net>" -rfakeroot

Then I tested ldconfig in i386-linux/obj/elf, and saw the failure.

Then (from the glibc-2.2.94 directory)..

mkdir build.glibc
cd build.glibc
../glibc-2.2.94/configure --prefix=/usr --enable-add-ons
make

Then test elf/ldconfig and it worked.

So it's not one of the Debian patches, it's something in how we're
compiling it.

jbailey@outpost:~/cvstree/glibc-2.2.94$ ls -al i386-linux/obj/elf/ldconfig
-rwxr-xr-x    1 jbailey  jbailey   3055469 2002-10-01 00:37 i386-linux/obj/elf/ldconfig
jbailey@outpost:~/cvstree/glibc-2.2.94$ ls -al build.glibc/elf/ldconfig
-rwxr-xr-x    1 jbailey  jbailey   2998188 2002-10-01 08:12 build.glibc/elf/ldconfig

I captured build logs, but didn't get home early enough to go through
them to see what's different.

Tks,
Jeff Bailey

-- 
learning from failures is nice in theory...
but in practice, it sucks :)
 - Wolfgang Jaehrling



Reply to: