Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003347 [Resin] crash always 02-19-09 00:12 02-18-11 16:53
Reporter copart View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.2.1
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.
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
02-19-09 00:12 copart New Issue
02-18-11 16:53 ferg Assigned To  => ferg
02-18-11 16:53 ferg Status new => closed
02-18-11 16:53 ferg Resolution open => fixed
02-18-11 16:53 ferg Fixed in Version  => 4.0.16


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker