|
Mantis - libcurl_dev
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4550 | other | minor | always | 2010-09-16 18:16 | 2011-06-10 10:28 |
|
|
|||||
| Reporter: | jensd | Platform: | |||
| Assigned To: | dam | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | |||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| 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: | |||||
| Relationships | |||||
| Attached Files: | |||||
|
|
|||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-09-16 18:16 | jensd | New Issue | |||
| 2010-09-17 23:02 | dam | Status | new => assigned | ||
| 2010-09-17 23:02 | dam | Assigned To | => dam | ||
| 2010-09-17 23:12 | dam | Note Added: 0008290 | |||
| 2011-04-29 16:14 | dam | Note Added: 0009015 | |||
| 2011-04-29 16:14 | dam | Status | assigned => feedback | ||
| 2011-06-10 10:28 | dam | Note Added: 0009109 | |||
| 2011-06-10 10:28 | dam | Status | feedback => closed | ||
| 2011-06-10 10:28 | dam | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||