Mailinglist Archive: opensuse-packaging (174 mails)

< Previous Next >
[opensuse-packaging] strange gcc relocation error
  • From: Wolfgang Rosenauer <wolfgang@xxxxxxxxxxxxx>
  • Date: Wed, 18 Mar 2009 14:40:00 +0100
  • Message-id: <49C0F9B0.7000305@xxxxxxxxxxxxx>

I'm running into the following issue:

../../staticlib/components/libgklayout.a(nsLayoutModule.o): relocation
R_X86_64_PC32 against
`NS_NewCanvasRenderingContext2D(nsIDOMCanvasRenderingContext2D**)' can
not be used when making a shared object; recompile with -fPIC
final link failed: Bad value

As you can see that is gcc 4.2 actually from openSUSE 10.3.

I'm working on packaging Firefox 3.1/3.5 in the buildservice
(mozilla:beta) and actually it's _only_ failing on 10.3-x86_64 with that
error and I've verified that nsLayoutModule.cpp is compiled using -fPIC.

Is there really something wrong with the code/compile or is it a gcc bug?

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups