[Bug 318] New: Shared bzip2 library isn't Position Independant Code

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Thu Mar 21 07:46:43 PST 2002


http://bugs.linuxfromscratch.org/show_bug.cgi?id=318

           Summary: Shared bzip2 library isn't Position Independant Code
           Product: Linux From Scratch
           Version: CVS
          Platform: PC
               URL:
        OS/Version: Linux
            Status: NEW
 Status Whiteboard:
          Keywords:
        Resolution:
          Severity: normal
          Priority: P1
         Component: Book
        AssignedTo: lfs-book at linuxfromscratch.org
        ReportedBy: marc_heerdink at softhome.net


Current CVS version of book.
bzip2-1.0.2
shared library compiled without -fPIC

The current commands we are using to compile this package start with

make &&
make -f Makefile-libbz2_so &&

I suggest we change the order to

make -f Makefile-libbz2_so &&
make &&

This is because on the first make run, the object files
blocksort.o huffman.o etc, that make up the shared lib, get compiled
without the -fPIC flag.

The bug occurs on the 2nd make run. The object files do not get remade
because make thinks they are already up-to-date and thus they miss
out on the -fPIC flag.
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list