Bug#642810: x264: Same on PA-RISC

2011-11-10 Thread Fabian Greffrath
Am 10.11.2011 05:39, schrieb Dave Anglin: /usr/bin/ld.bfd.real: common/mc.o: relocation R_PARISC_DPREL21L can not be used when making a shared object; recompile with -fPIC So we need to add PARISC to the list of shared+pic architectures in line 615 of the upstream configure script.

Bug#642810: x264: Same on PA-RISC

2011-11-10 Thread John David Anglin
On 10-Nov-11, at 3:36 AM, Fabian Greffrath wrote: Architecture: hppa (parisc64) Will $host_cpu be hppa or parisc64? The configure script is currently only looking for parisc|parisc64. I believe that hppa is preferred. parisc and parisc64 were dropped from GCC. -- John David Anglin

Bug#642810: x264: Same on PA-RISC

2011-11-10 Thread Fabian Greffrath
Am 10.11.2011 14:04, schrieb John David Anglin: I believe that hppa is preferred. parisc and parisc64 were dropped from GCC. During the x264 build (i.e. at configure time) a line starting with Platform: will appear. Would you have a look and tell me what it says? -- To UNSUBSCRIBE,

Bug#642810: x264: Same on PA-RISC

2011-11-10 Thread Fabian Greffrath
Am 10.11.2011 15:44, schrieb John David Anglin: This appears to come from the debian build system. On the other hand, configure seems to look for parisc or parisc64. I played with configure a bit but didn't get it to add -fPIC automatically. Does the attached patch help? I got the package to

Bug#642810: x264: Same on PA-RISC

2011-11-10 Thread John David Anglin
On 11/10/2011 8:15 AM, Fabian Greffrath wrote: I believe that hppa is preferred. parisc and parisc64 were dropped from GCC. During the x264 build (i.e. at configure time) a line starting with Platform: will appear. Would you have a look and tell me what it says? I believe it was HPPA64.

Bug#642810: x264: Same on PA-RISC

2011-11-10 Thread John David Anglin
On 10-Nov-11, at 9:58 AM, Fabian Greffrath wrote: Does the attached patch help? Yes. I suggest that the change in first hunk can simply be: hppa*|parisc*) as config.guess can return some other permutations. Dave -- John David Anglin dave.ang...@bell.net -- To UNSUBSCRIBE,

Bug#642810: x264: Same on PA-RISC

2011-11-09 Thread Dave Anglin
Package: x264 Version: 2:0.118.2092+git6eac7c3-1 Followup-For: Bug #642810 Source build fails as follows: gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -fomit-frame-pointer -fno-tre e-vectorize -D_FORTIFY_SOURCE=2 -c -o common/mc.o common/mc.c ... gcc -o libx264.so.118 common/mc.o