The following issue requires your FEEDBACK. ====================================================================== https://www.opencsw.org/mantis/view.php?id=4550 ====================================================================== Reported By: jensd Assigned To: dam ====================================================================== Project: curl_devel Issue ID: 4550 Category: other Reproducibility: always Severity: minor Priority: normal Status: feedback ====================================================================== Date Submitted: 2010-09-16 18:16 CEST Last Modified: 2011-04-29 16:14 CEST ====================================================================== Summary: curl-config emits 'xarch' value for --libs and --static-libs Description: I'm using the curl libs to build a ruby extension (curb). At some point the link call fails with:
/opt/studio/SOS11/SUNWspro/bin/cc -I. -I. -I/opt/csw/lib/ruby/1.8/sparc-solaris2.8 -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -I/opt/csw/include -D_FILE_OFFSET_BITS=64 -I/opt/csw/include -KPIC -xO3 -xarch=v8 -I/opt/csw/include -KPIC -I/opt/csw/include -g -c curb_multi.c ld -G -o curb_core.so curb.o curb_postfield.o curb_upload.o curb_errors.o curb_easy.o curb_multi.o -L. -L/opt/csw/lib -R/opt/csw/lib -L. -L/opt/csw/lib -R /opt/csw/lib -L/opt/csw/lib -lruby -lpthread -lrt -ldl -lcrypt -lm -lc -L/opt/csw/lib -lcurl -xarch=v8 -L/opt/csw/lib -L/opt/csw/lib -lcares -lidn -lssl -lcrypto -llber -lldap -lsocket -lnsl -lssl -lcrypto -lsocket -lnsl -ldl -lz ld: illegal option -- x usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s) The failure is because the linker is using the option -xarch=v8 and this is as a result of using 'curl-config --libs': jensd@current8s:ext$> curl-config --libs -L/opt/csw/lib -lcurl -xarch=v8 -L/opt/csw/lib -L/opt/csw/lib -lcares -lidn -lssl -lcrypto -llber -lldap -lsocket -lnsl -lssl -lcrypto -lsocket -lnsl -ldl -lz I don't think curl-config should be emitting '-xarch=v8' here. ====================================================================== ---------------------------------------------------------------------- (0009015) dam (administrator) - 2011-04-29 16:14 https://www.opencsw.org/mantis/view.php?id=4550#c9015 ---------------------------------------------------------------------- This should be fixed with the current set of packages in http://buildfarm.opencsw.org/experimental.html#libcurl _______________________________________________ bug-notifications mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/bug-notifications
