pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46594: graphics/librsvg does not compile on NetBSD 5.1/amd64



>Number:         46594
>Category:       pkg
>Synopsis:       graphics/librsvg does not compile on NetBSD 5.1/amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 12 13:15:00 +0000 2012
>Originator:     Jörn Clausen
>Release:        NetBSD 5.1/amd64
>Organization:
University of Bielefeld
>Environment:
>Description:
Compiling graphics/librsvg on NetBSD 5.1/amd64 fails with

  CC     librsvg_2_la-rsvg-size-callback.lo
  CC     librsvg_2_la-rsvg-xml.lo
  CCLD   librsvg-2.la
ld: .libs/librsvg_2_la-rsvg-defs.o: relocation R_X86_64_PC32 against 
`rsvg_get_file_path' can not be used when making a shared object; recompile 
with -fPIC
ld: final link failed: Bad value
*** Error code 1

This does not happen on NetBSD 5.1/i386. In both cases, the native GCC 4.1.3 is 
used.
>How-To-Repeat:

>Fix:
Probably adding -fPIC to CFLAGS...



Home | Main Index | Thread Index | Old Index