Ticket #1994 (new defect)

Opened 4 years ago

Last modified 2 years ago

-fPIC is not used in ruby bindings

Reported by: frankie Owned by: cfis
Priority: normal Milestone:
Component: RubyBindings Version: svn-trunk
Severity: normal Keywords:
Cc: warmerdam

Description

That causes a build failure on some archs, see Debian BTS for more information:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=450882

Also its GNUmakefile should be patched to fail at the first error.

Attachments

1994.patch Download (439 bytes) - added by sderle 2 years ago.
patch to fix undefined reference to main error

Change History

Changed 4 years ago by warmerdam

  • cc warmerdam added

I have patched the swig/GNUmakefile in trunk (r12783) and 1.4 branch (r12784) as suggested.

Charlie, do you have any idea why the GDALmake.opt's -fPIC compile options aren't getting into the ruby extension build?

Changed 3 years ago by frankie

  • version changed from 1.4.2 to svn-trunk

Changed 3 years ago by frankie

FYI it's still broken in 1.6.0...

Changed 3 years ago by frankie

One more fix is required to work with libtool 2.2. s/-shared/-Xcompiler -shared/ in LDFLAGS. Note that some systems still use 1.5, but more and more of them are upgrading to series 2.2. Also that flag is back-compatible with 1.5.

Changed 2 years ago by sderle

patch to fix undefined reference to main error

Changed 2 years ago by hobu

patch applied in r17539

Note: See TracTickets for help on using tickets.