libz.a, was [uClibc]static zlib problem in x86 dev image
Peter S. Mazinger
ps.m at gmx.net
Thu Feb 13 10:31:22 UTC 2003
> Could you check if this problem is still present in
> today's development system image? I rebuilt it this
> morning with uClibc 0.9.18. I also added most of the
> things you asked for (diffutils,patch, flex, bison,
> ed,file, etc)
Thanks for the additions.
libz.a has the same problem. If I rebuild zlib-1.1.4
on the new image, than it works. What I see, that my rebuild is 40 kB,
your is 2xx kB (is this because I use -Os ?). I use CFLAGS="-Os
-march=i386 -mcpu=i686" ./configure option.
For the .so version I have added -fPIC to CFLAGS, -shared to configure,
"-lc" on building the shared library, no other changes.
I build first the shared lib, after that run configure w/o shared, make.
Environment when it happens:
modutils insmod.static version built against dietlibc (I use mainly
unmodified, only updated redhat rpm's for dietlibc,zlib and modutils)
First I build dietlibc-0.21 and install.
After that I try to build modutils-2.4.22 with static insmod built against
dietlibc. If I use your libz.a, than it fails, if I rebuild libz.a
on this system with the options above, then it works.
Peter
--
Peter S. Mazinger <ps.m at gmx.net> ID: 0xA5F059F2 NIC: IXUYHSKQLI
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the uClibc
mailing list