Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#7632 closed defect (fixed)

Improper use of -fPIC flag for certain libs

Reported by: Doug Goldstein <cardoe@…> Owned by: Janne Grunau
Priority: minor Milestone: 0.24
Component: MythTV - General Version: 0.22
Severity: medium Keywords:
Cc: mythtv@… Ticket locked: no

Description

Certain libraries improperly will pull in the -fPIC flag on x86. This issue really only manifests itself when people supply -arch for compiling because the build scripts appear to always choose pentiumpro, which doesn't exhibit this problem.

Patch for 0-22-fixes attached.

Attachments (1)

mythtv-0.22-x86-no-fpic.patch (948 bytes ) - added by Doug Goldstein <cardoe@…> 16 years ago.

Download all attachments as: .zip

Change History (5)

by Doug Goldstein <cardoe@…>, 16 years ago

comment:1 by Stuart Auchterlonie, 16 years ago

Milestone: 0.22.10.24

Things like this need to go in at the start of the development cycle

comment:2 by stuartm, 16 years ago

Owner: changed from Isaac Richards to Janne Grunau
Status: newassigned

comment:3 by Janne Grunau, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [24643]) build: remove PIC from libswscale and libavcodec x86_32 build

GCC 4.2 and later refuse to build with it. Fixes #7632

comment:4 by Janne Grunau, 16 years ago

(In [24644]) backports [24643] from trunk

build: remove PIC from libswscale and libavcodec x86_32 build GCC 4.2 and later refuse to build with it. Refs #7632

Note: See TracTickets for help on using tickets.