Hi,
I've tried to do a clean build on today's master and got the following error:
Code
/usr/lib/librt.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
libtool: error: error: relink 'libpulse-simple.la' with the above command before installing it
Here is a more detailed log:
Code
libtool: install: /usr/bin/install -c .libs/libpulsecommon-10.0.lai /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib/pulseaudio/libpulsecommon-10.0.la
libtool: warning: remember to run 'libtool --finish /usr/lib/pulseaudio'
/bin/mkdir -p '/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib'
/bin/sh ../libtool --mode=install /usr/bin/install -c libpulse.la libpulse-simple.la libpulse-mainloop-glib.la '/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib'
libtool: warning: relinking 'libpulse.la'
libtool: install: (cd /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi/src; /bin/sh "/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi/libtool" --tag CC --mode=relink /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc -std=gnu11 -pthread -I/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/armv7a-libreelec-linux-gnueabi/sysroot/usr/include/dbus-1.0 -I/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/armv7a-libreelec-linux-gnueabi/sysroot/usr/lib/dbus-1.0/include -march=armv7-a -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon-fp16 -fomit-frame-pointer -Wall -pipe -Os -flto -ffat-lto-objects -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto -Wl,-z,nodelete -Wl,-version-script=/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/src/map-file -version-info 20:1:20 -march=armv7-a -mtune=cortex-a9 -Wl,--as-needed -fuse-ld=gold -fuse-linker-plugin -flto -o libpulse.la -rpath /usr/lib pulse/libpulse_la-channelmap.lo pulse/libpulse_la-context.lo pulse/libpulse_la-direction.lo pulse/libpulse_la-error.lo pulse/libpulse_la-ext-device-manager.lo pulse/libpulse_la-ext-device-restore.lo pulse/libpulse_la-ext-stream-restore.lo pulse/libpulse_la-format.lo pulse/libpulse_la-introspect.lo pulse/libpulse_la-mainloop-api.lo pulse/libpulse_la-mainloop-signal.lo pulse/libpulse_la-mainloop.lo pulse/libpulse_la-operation.lo pulse/libpulse_la-proplist.lo pulse/libpulse_la-rtclock.lo pulse/libpulse_la-sample.lo pulse/libpulse_la-scache.lo pulse/libpulse_la-stream.lo pulse/libpulse_la-subscribe.lo pulse/libpulse_la-thread-mainloop.lo pulse/libpulse_la-timeval.lo pulse/libpulse_la-utf8.lo pulse/libpulse_la-util.lo pulse/libpulse_la-volume.lo pulse/libpulse_la-xmalloc.lo libpulsecommon-10.0.la -L/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/armv7a-libreelec-linux-gnueabi/sysroot/usr/lib -ldbus-1 -lpthread -lrt -ldl -lm -inst-prefix-dir /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg)
libtool: relink: /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc -shared -fPIC -DPIC pulse/.libs/libpulse_la-channelmap.o pulse/.libs/libpulse_la-context.o pulse/.libs/libpulse_la-direction.o pulse/.libs/libpulse_la-error.o pulse/.libs/libpulse_la-ext-device-manager.o pulse/.libs/libpulse_la-ext-device-restore.o pulse/.libs/libpulse_la-ext-stream-restore.o pulse/.libs/libpulse_la-format.o pulse/.libs/libpulse_la-introspect.o pulse/.libs/libpulse_la-mainloop-api.o pulse/.libs/libpulse_la-mainloop-signal.o pulse/.libs/libpulse_la-mainloop.o pulse/.libs/libpulse_la-operation.o pulse/.libs/libpulse_la-proplist.o pulse/.libs/libpulse_la-rtclock.o pulse/.libs/libpulse_la-sample.o pulse/.libs/libpulse_la-scache.o pulse/.libs/libpulse_la-stream.o pulse/.libs/libpulse_la-subscribe.o pulse/.libs/libpulse_la-thread-mainloop.o pulse/.libs/libpulse_la-timeval.o pulse/.libs/libpulse_la-utf8.o pulse/.libs/libpulse_la-util.o pulse/.libs/libpulse_la-volume.o pulse/.libs/libpulse_la-xmalloc.o -Wl,-rpath -Wl,/usr/lib/pulseaudio -Wl,-rpath -Wl,/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/armv7a-libreelec-linux-gnueabi/sysroot/usr/lib -L/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib/pulseaudio -L/usr/lib/pulseaudio -lpulsecommon-10.0 -L/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/armv7a-libreelec-linux-gnueabi/sysroot/usr/lib -L/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/armv7a-libreelec-linux-gnueabi/sysroot/usr/lib -ldbus-1 -lpthread -lrt -ldl -lm -pthread -march=armv7-a -mabi=aapcs-linux -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon-fp16 -Os -flto -Wl,-z -Wl,nodelete -Wl,-version-script=/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/src/map-file -march=armv7-a -mtune=cortex-a9 -Wl,--as-needed -fuse-linker-plugin -flto -pthread -Wl,-soname -Wl,libpulse.so.0 -o .libs/libpulse.so.0.20.1
libtool: install: /usr/bin/install -c .libs/libpulse.so.0.20.1T /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib/libpulse.so.0.20.1
libtool: install: (cd /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib && { ln -s -f libpulse.so.0.20.1 libpulse.so.0 || { rm -f libpulse.so.0 && ln -s libpulse.so.0.20.1 libpulse.so.0; }; })
libtool: install: (cd /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib && { ln -s -f libpulse.so.0.20.1 libpulse.so || { rm -f libpulse.so && ln -s libpulse.so.0.20.1 libpulse.so; }; })
libtool: install: /usr/bin/install -c .libs/libpulse.lai /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib/libpulse.la
libtool: warning: relinking 'libpulse-simple.la'
libtool: install: (cd /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi/src; /bin/sh "/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi/libtool" --tag CC --mode=relink /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc -std=gnu11 -pthread -march=armv7-a -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon-fp16 -fomit-frame-pointer -Wall -pipe -Os -flto -ffat-lto-objects -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto -Wl,-z,nodelete -Wl,-version-script=/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/src/map-file -version-info 1:0:1 -march=armv7-a -mtune=cortex-a9 -Wl,--as-needed -fuse-ld=gold -fuse-linker-plugin -flto -o libpulse-simple.la -rpath /usr/lib pulse/libpulse_simple_la-simple.lo libpulse.la libpulsecommon-10.0.la -lpthread -lrt -ldl -lm -inst-prefix-dir /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg)
libtool: relink: /home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc -shared -fPIC -DPIC pulse/.libs/libpulse_simple_la-simple.o -Wl,-rpath -Wl,/usr/lib/pulseaudio -L/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib -L/usr/lib -lpulse -L/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.install_pkg/usr/lib/pulseaudio -L/usr/lib/pulseaudio -lpulsecommon-10.0 -lpthread -lrt -ldl -lm -pthread -march=armv7-a -mabi=aapcs-linux -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon-fp16 -Os -flto -Wl,-z -Wl,nodelete -Wl,-version-script=/home/js/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/src/map-file -march=armv7-a -mtune=cortex-a9 -Wl,--as-needed -fuse-linker-plugin -flto -pthread -Wl,-soname -Wl,libpulse-simple.so.0 -o .libs/libpulse-simple.so.0.1.0
/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/toolchain/bin/../lib/gcc/armv7a-libreelec-linux-gnueabi/6.2.0/../../../../armv7a-libreelec-linux-gnueabi/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/lib/librt.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
libtool: error: error: relink 'libpulse-simple.la' with the above command before installing it
make[5]: *** [Makefile:4976: install-libLTLIBRARIES] Error 1
make[5]: Leaving directory '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi/src'
make[4]: *** [Makefile:11071: install-am] Error 2
make[4]: Leaving directory '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi/src'
make[3]: *** [Makefile:11065: install] Error 2
make[3]: Leaving directory '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi/src'
make[2]: *** [Makefile:806: install-recursive] Error 1
make[2]: Leaving directory '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi'
make[1]: *** [Makefile:1105: install] Error 2
make[1]: Leaving directory '/mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-9.0-devel/pulseaudio-10.0/.armv7a-libreelec-linux-gnueabi'
make: *** [Makefile:12: image] Error 2
Display More
My system is Gentoo Linux.
Any help is appreciated.