Re: [porting-dev] more on moz address book


Subject: Re: [porting-dev] more on moz address book
From: Kevin B. Hendricks (khendricks@ivey.uwo.ca)
Date: Fri Aug 24 2001 - 11:20:46 MDT


Hi Scott and Dan,

Dan we (Scott and I) have been trying to track down a problem with the latest
mozilla and openoffice when it registers the libnecko component.

The problem seems to be missing "-fPIC".

zlib (/usr/lib/libz.so.1) is linked into alot of code.

Would you belive that libz.so is NOT being built with -fPIC for YDL 2.0?

Here is the output of rpm --rebuild on the zlib source rpm:

[root@localhost SRPMS]# rpm --rebuild zlib*.src.rpm
Installing zlib-1.1.3-12.src.rpm
...snip...
Checking for mmap support... Yes.
+ make
gcc -O2 -fsigned-char -DHAVE_UNISTD_H -DUSE_MMAP -c -o example.o example.c
gcc -O2 -fsigned-char -DHAVE_UNISTD_H -DUSE_MMAP -c -o adler32.o adler32.c
gcc -O2 -fsigned-char -DHAVE_UNISTD_H -DUSE_MMAP -c -o compress.o compress.c
gcc -O2 -fsigned-char -DHAVE_UNISTD_H -DUSE_MMAP -c -o crc32.o crc32.c
gcc -O2 -fsigned-char -DHAVE_UNISTD_H -DUSE_MMAP -c -o gzio.o gzio.c
gcc -O2 -fsigned-char -DHAVE_UNISTD_H -DUSE_MMAP -c -o uncompr.o uncompr.c
gcc -O2 -fsigned-char -DHAVE_UNISTD_H -DUSE_MMAP -c -o deflate.o deflate.c
gcc -O2 -fsigned-char -DHAVE_UNISTD_H -DUSE_MMAP -c -o trees.o trees.c
gcc -O2 -fsigned-char -DHAVE_UNISTD_H -DUSE_MMAP -c -o zutil.o zutil.c
gcc -O2 -fsigned-char -DHAVE_UNISTD_H -DUSE_MMAP -c -o inflate.o inflate.c
gcc -O2 -fsigned-char -DHAVE_UNISTD_H -DUSE_MMAP -c -o infblock.o infblock.c
gcc -O2 -fsigned-char -DHAVE_UNISTD_H -DUSE_MMAP -c -o inftrees.o inftrees.c
gcc -O2 -fsigned-char -DHAVE_UNISTD_H -DUSE_MMAP -c -o infcodes.o infcodes.c
gcc -O2 -fsigned-char -DHAVE_UNISTD_H -DUSE_MMAP -c -o infutil.o infutil.c
gcc -O2 -fsigned-char -DHAVE_UNISTD_H -DUSE_MMAP -c -o inffast.o inffast.c
gcc -shared -Wl,-soname,libz.so.1 -o libz.so.1.1.3 adler32.o compress.o
crc32.o gzio.o uncompr.o deflate.o trees.o zutil.o inflate.o infblock.o
inftrees.o infcodes.o infutil.o inffast.o -lc
rm -f libz.so libz.so.1
ln -s libz.so.1.1.3 libz.so
ln -s libz.so.1.1.3 libz.so.1

You might want to release a fixed version of zlib.

Kevin



This archive was generated by hypermail 2a24 : Fri Aug 24 2001 - 10:38:50 MDT