I am trying to compile libepoxy-git from AUR on raspberry pi with command "pacaur -S libepoxy-git". I edited the PKGBUILD file to add armv6h as an architecture but the compile fails with the following error
==> Entering fakeroot environment...
==> Starting package()...
Making install in include/epoxy
make[1]: Entering directory '/tmp/pacaurtmp-vinay/libepoxy-git/src/libepoxy/include/epoxy'
make[2]: Entering directory '/tmp/pacaurtmp-vinay/libepoxy-git/src/libepoxy/include/epoxy'
make[2]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/tmp/pacaurtmp-vinay/libepoxy-git/pkg/libepoxy-git/usr/include/epoxy'
/usr/bin/install -c -m 644 gl.h egl.h glx.h '/tmp/pacaurtmp-vinay/libepoxy-git/pkg/libepoxy-git/usr/include/epoxy'
make[2]: Leaving directory '/tmp/pacaurtmp-vinay/libepoxy-git/src/libepoxy/include/epoxy'
make[1]: Leaving directory '/tmp/pacaurtmp-vinay/libepoxy-git/src/libepoxy/include/epoxy'
Making install in src
make[1]: Entering directory '/tmp/pacaurtmp-vinay/libepoxy-git/src/libepoxy/src'
/usr/bin/mkdir -p ../include/epoxy
GEN gl_generated_dispatch.c
GEN glx_generated_dispatch.c
GEN egl_generated_dispatch.c
GEN wgl_generated_dispatch.c
make install-am
make[2]: Entering directory '/tmp/pacaurtmp-vinay/libepoxy-git/src/libepoxy/src'
CC dispatch_common.lo
CC gl_generated_dispatch.lo
{standard input}: Assembler messages:
{standard input}:23338: Error: undefined local label `.L2834'
{standard input}:23345: Error: undefined local label `.L2834'
{standard input}:23346: Error: undefined local label `.L2834'
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://github.com/archlinuxarm/PKGBUILDs/issues> for instructions.
Makefile:599: recipe for target 'gl_generated_dispatch.lo' failed
make[2]: *** [gl_generated_dispatch.lo] Error 1
make[2]: Leaving directory '/tmp/pacaurtmp-vinay/libepoxy-git/src/libepoxy/src'
Makefile:724: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/tmp/pacaurtmp-vinay/libepoxy-git/src/libepoxy/src'
Makefile:496: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
==> ERROR: A failure occurred in package().
Aborting...
:: libepoxy-git cleaned
Any idea as to what I maybe missing? I have tried googling and it has not helped. Ultimate goal is to install Xwayland-git from AUR for which libepoxy is a dependency.
I am using gcc version 4.8.2
Regards,
Vinay