[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#730207: libffi: FTBFS on powerpcspe: Old code also breaks port

Source: libffi
Version: 3.0.13-6
Severity: wishlist
Tags: patch sid
User: debian-powerpcspe@breakpoint.cc
Usertags: powerpcspe


Thanks for reacting to #730020 so fast!

Unfortunately, when powerpc-abiv2.diff was disabled in 3.0.13-6, gcc tried to
compile some code that was hidden by the patch:

libtool: compile:  powerpc-linux-gnuspe-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wa,--gdwarf2 -MT src/powerpc/sysv.lo -MD -MP -MF src/powerpc/.deps/sysv.Tpo -c ../src/powerpc/sysv.S  -fPIC -DPIC -o src/powerpc/.libs/sysv.o
../src/powerpc/sysv.S: Assembler messages:
../src/powerpc/sysv.S:153: Error: unrecognized opcode: `stswx'
../src/powerpc/sysv.S:156: Error: unrecognized opcode: `stswi'
make[3]: *** [src/powerpc/sysv.lo] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/build'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [stamp-build] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»/build'
make[1]: Leaving directory `/«PKGBUILDDIR»/build'

stswi and stswx are not supported by powerpcspe (only powerpc "Book E").

I actually find the backport in powerpc-abiv2.diff quite nice, so I'm proposing
to use it again and additionally apply the patch from #730020.

Thanks in advance,


-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: powerpcspe (ppc)

Kernel: Linux 3.9.0-dirty (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Reply to: