Opened 9 years ago

Closed 9 years ago

#9478 closed Patch - Bug Fix (Fixed)

[PATCH] configure for PowerPC doesn't set -fPIC

Reported by: Lawrence Rust <lvr@…> Owned by: Janne Grunau
Priority: minor Milestone: 0.25
Component: MythTV - configure script Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

If ./configure is run on a PowerPC/Linux system then the -fPIC compiler flag is not set for building shared libraries. This results in runtime errors from ld.so when loading those shared objects.

PS configure also fails to detect the cpu of a Mac B/W G3 when passed --cpu=host. Building with --cpu=g3 works fine. $ uname -m ppc

$ uname -p unknown

$ cat /proc/cpuinfo processor : 0 cpu : 740/750 temperature : 11-13 C (uncalibrated) clock : 400.000000MHz revision : 130.1 (pvr 0008 8201) bogomips : 49.86 timebase : 24934600 platform : PowerMac? model : PowerMac1,1 machine : PowerMac1,1 motherboard : PowerMac1,1 MacRISC Power Macintosh detected as : 66 (Blue&White G3) pmac flags : 00000000 L2 cache : 1024K unified pmac-generation : NewWorld? Memory : 256 MB

Attachments (1)

1060-config-ppc.diff (308 bytes) - added by Lawrence Rust <lvr@…> 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by Lawrence Rust <lvr@…>

Attachment: 1060-config-ppc.diff added

comment:1 Changed 9 years ago by markk

Milestone: unknown0.25
Resolution: Fixed
Status: newclosed
Version: UnspecifiedTrunk Head

Fixed in a9db0dc500124f01e197

Note: See TracTickets for help on using tickets.