|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3347 | crash | always | 02-19-09 00:12 | 02-18-11 16:53 | |
|
|
|||||
| Reporter: | copart | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.2.1 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.16 | ||
|
|
|||||
| Summary: | 0003347: make on sol10 misses -fPIC (gcc) or -kpic (solaris cc) | ||||
| Description: |
a normal 64 bit configure, either gcc or sun workshop will result in: [23:37:19.883] {main} java.lang.UnsatisfiedLinkError: /usr/local/resin-pro-3.2.1/libexec64/libresin.so: ld.so.1: java: fatal: relocation error: R_AMD64 _32: file /usr/local/resin-pro-3.2.1/libexec64/libresin.so: symbol (unknown): value 0xfffffd7fe4439186 does not fit The problem seems to be that most compiles happen with no -fpic: gcc -c -I/usr/sfw/include/ -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -D__SOLARIS__ -DHAS_JVMTI memory.c by forcing fpic via CFLAGS="-fPIC" ./configure ... We get a resin binary that loads properly. |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| There are no notes attached to this issue. |