Opened 10 years ago

Closed 10 years ago

Last modified 10 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@…> 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by Doug Goldstein <cardoe@…>

comment:1 Changed 10 years ago by Stuart Auchterlonie

Milestone: 0.22.10.24

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

comment:2 Changed 10 years ago by stuartm

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

comment:3 Changed 10 years ago by Janne Grunau

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 Changed 10 years ago by Janne Grunau

(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.