| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0000397 | mercury | Bug | public | 2015-10-13 17:43 | 2015-10-20 18:00 | ||||
| Reporter | wangp | ||||||||
| Assigned To | wangp | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | resolved | Resolution | fixed | ||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0000397: Clang fails to deal with -R command line parameter | ||||||||
| Description | Not necessarily our bug, but clang 3.4 does not like -R/foo: clang -R/foo --version clang: error: unknown argument: '-R/foo' FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: i386-unknown-freebsd10.1 Thread model: posix https://llvm.org/bugs/show_bug.cgi?id=18164 | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files |
| ||||||||
Notes |
|
|
juliensf (administrator) 2015-10-14 10:08 |
Presumably it is happy with -Wl,-rpath though? We may need to make the definitions of SHLIB_RPATH_OPT etc in the configure script dependent on the C compiler type on the affected platforms. |
|
wangp (developer) 2015-10-14 12:38 |
Yes, all of these work. The linker is GNU ld. -Wl,-R -Wl,-rpath -rpath so we can probably just remove lines in configure.ac that force "-R" for FreeBSD. |
|
juliensf (administrator) 2015-10-14 15:14 |
Yep, that would work for GCC as well. I assume you have a FreeBSD system set up to test this on? |
Issue History |
|||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-10-13 17:43 | wangp | New Issue | |
| 2015-10-14 10:08 | juliensf | Note Added: 0000851 | |
| 2015-10-14 12:38 | wangp | Note Added: 0000853 | |
| 2015-10-14 15:14 | juliensf | Note Added: 0000854 | |
| 2015-10-20 18:00 | wangp | Status | new => resolved |
| 2015-10-20 18:00 | wangp | Resolution | open => fixed |
| 2015-10-20 18:00 | wangp | Assigned To | => wangp |


