Error below. Note that it included a -L/usr/lib and is thus picking up /usr/lib/libssl.so from my system, which will obviously not work. [ebuild N ] app-admin/syslog-ng-3.4.8 to /usr/armv7a-hardfloat-linux-gnueabi/ USE="ipv6 pcre ssl -amqp -caps -dbi -geoip (-json) -mongodb -pacct -smtp -spoof-source -systemd -tcpd" 0 kB make[3]: Entering directory '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/work/syslog-ng-3.4.8/lib' /bin/mkdir -p '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/image//usr/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libsyslog-ng.la '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/image//usr/lib' libtool: install: /usr/bin/install -c .libs/libsyslog-ng-3.4.8.so /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/image//usr/lib/libsyslog-ng-3.4.8.so libtool: install: (cd /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/image//usr/lib && { ln -s -f libsyslog-ng-3.4.8.so libsyslog-ng.so || { rm -f libsyslog-ng.so && ln -s libsyslog-ng-3.4.8.so libsyslog-ng.so; }; }) libtool: install: /usr/bin/install -c .libs/libsyslog-ng.lai /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/image//usr/lib/libsyslog-ng.la libtool: install: warning: remember to run `libtool --finish /usr/lib' /bin/mkdir -p '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/image//usr/lib/syslog-ng' /bin/sh ../libtool --mode=install /usr/bin/install -c libsyslog-ng-crypto.la '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/image//usr/lib/syslog-ng' libtool: install: warning: relinking `libsyslog-ng-crypto.la' libtool: install: (cd /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/work/syslog-ng-3.4.8/lib; /bin/sh /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/work/syslog-ng-3.4.8/libtool --tag CC --mode=relink armv7a-hardfloat-linux-gnueabi-gcc -std=gnu99 -O2 -pipe -fomit-frame-pointer -Wall -pthread -no-undefined -avoid-version -Wl,-O1 -Wl,--as-needed -o libsyslog-ng-crypto.la -rpath /usr/lib/syslog-ng libsyslog_ng_crypto_la-crypto.lo libsyslog_ng_crypto_la-tlscontext.lo libsyslog_ng_crypto_la-tlstransport.lo libsyslog_ng_crypto_la-uuid.lo ../lib/libsyslog-ng.la -L/usr/armv7a-hardfloat-linux-gnueabi/usr/lib -lssl -lcrypto -inst-prefix-dir /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/image/) libtool: relink: armv7a-hardfloat-linux-gnueabi-gcc -std=gnu99 -shared -fPIC -DPIC .libs/libsyslog_ng_crypto_la-crypto.o .libs/libsyslog_ng_crypto_la-tlscontext.o .libs/libsyslog_ng_crypto_la-tlstransport.o .libs/libsyslog_ng_crypto_la-uuid.o -L/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/image//usr/lib -L/usr/lib -lsyslog-ng -L/usr/armv7a-hardfloat-linux-gnueabi/usr/lib -lssl -lcrypto -O2 -pthread -Wl,-O1 -Wl,--as-needed -pthread -Wl,-soname -Wl,libsyslog-ng-crypto.so -o .libs/libsyslog-ng-crypto.so /usr/lib/libssl.so: file not recognized: File format not recognized collect2: error: ld returned 1 exit status libtool: install: error: relink `libsyslog-ng-crypto.la' with the above command before installing it Makefile:751: recipe for target 'install-moduleLTLIBRARIES' failed make[3]: *** [install-moduleLTLIBRARIES] Error 1 Reproducible: Always Steps to Reproduce: armv7a-hardfloat-linux-gnueabi-emerge syslog-ng
And when I add a USE=-ssl, I end up with make[4]: Entering directory '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/work/syslog-ng-3.4.8/modules/syslogformat' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/image//usr/lib/syslog-ng' /bin/sh ../../libtool --mode=install /usr/bin/install -c libsyslogformat.la '/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/image//usr/lib/syslog-ng' libtool: install: warning: relinking `libsyslogformat.la' libtool: install: (cd /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/work/syslog-ng-3.4.8/modules/syslogformat; /bin/sh /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/work/syslog-ng-3.4.8/libtool --tag CC --mode=relink armv7a-hardfloat-linux-gnueabi-gcc -std=gnu99 -O2 -pipe -fomit-frame-pointer -Wall -pthread -avoid-version -module -no-undefined -Wl,-O1 -Wl,--as-needed -o libsyslogformat.la -rpath /usr/lib/syslog-ng libsyslogformat_la-syslog-format.lo libsyslogformat_la-syslog-format-plugin.lo libsyslogformat_la-syslog-parser-grammar.lo libsyslogformat_la-syslog-parser-parser.lo libsyslogformat_la-syslog-parser.lo ../../lib/libsyslog-ng.la -inst-prefix-dir /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/image/) libtool: relink: armv7a-hardfloat-linux-gnueabi-gcc -std=gnu99 -shared -fPIC -DPIC .libs/libsyslogformat_la-syslog-format.o .libs/libsyslogformat_la-syslog-format-plugin.o .libs/libsyslogformat_la-syslog-parser-grammar.o .libs/libsyslogformat_la-syslog-parser-parser.o .libs/libsyslogformat_la-syslog-parser.o -L/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/app-admin/syslog-ng-3.4.8/image//usr/lib -L/usr/lib -lsyslog-ng -O2 -pthread -Wl,-O1 -Wl,--as-needed -pthread -Wl,-soname -Wl,libsyslogformat.so -o .libs/libsyslogformat.so /usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread /usr/lib/libpthread.a: could not read symbols: File format not recognized collect2: error: ld returned 1 exit status libtool: install: error: relink `libsyslogformat.la' with the above command before installing it Makefile:448: recipe for target 'install-moduleLTLIBRARIES' failed make[4]: *** [install-moduleLTLIBRARIES] Error 1 Which is basically the same thing.
1) Please post your `(cross-)emerge --info' output in a comment. 2) Please attach the entire build log to this bug report.