Anonymous | Login | 2024-04-28 14:16 CEST |
Main | My View | View Issues |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
0004550 | [libcurl_dev] other | minor | always | 2010-09-16 18:16 | 2011-06-10 10:28 | ||
Reporter | jensd | View Status | public | ||||
Assigned To | dam | ||||||
Priority | normal | Resolution | fixed | Platform | |||
Status | closed | OS | |||||
Projection | none | OS Version | |||||
ETA | none | Product Build | |||||
Summary | 0004550: 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. |
||||||
Steps To Reproduce | |||||||
Additional Information | |||||||
Tags | No tags attached. | ||||||
Attached Files | |||||||
|
Notes | |
(0008290) dam (administrator) 2010-09-17 23:12 |
Yes, you are right. I'll have a look how the option gets in there. |
(0009015) dam (administrator) 2011-04-29 16:14 |
This should be fixed with the current set of packages in http://buildfarm.opencsw.org/experimental.html#libcurl [^] |
(0009109) dam (administrator) 2011-06-10 10:28 |
Fixed in 7.21.6,REV=2011.04.29 and released to current/. |
Copyright © 2000 - 2008 Mantis Group |