Opened 23 years ago

Closed 23 years ago

Last modified 23 years ago

#318 closed defect (fixed)

Shared bzip2 library isn't Position Independant Code

Reported by: gimli@… Owned by: gerard@…
Priority: highest Milestone:
Component: Book Version: CVS
Severity: normal Keywords:
Cc:

Description

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.

Change History (3)

comment:1 by gerard@…, 23 years ago

Owner: changed from lfs-book@… to gerard@…
Status: newassigned

comment:2 by gerard@…, 23 years ago

Resolution: fixed
Status: assignedclosed

comment:3 by markh@…, 23 years ago

i've tested the bzip2 instructions for 1.0.2 during my QA build and it all works fine. closing all relevant bugs.

Note: See TracTickets for help on using tickets.