Subject: pkg/36151: xfce4-thunar doesn't build on amd64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <juan@xtrarom.org>
List: pkgsrc-bugs
Date: 04/16/2007 09:45:00
>Number: 36151
>Category: pkg
>Synopsis: xfce4-thunar doesn't build on amd64
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 16 09:45:00 +0000 2007
>Originator: Juan RP
>Release: NetBSD 4.99.17
>Organization:
>Environment:
System: NetBSD nocturno 4.99.17 NetBSD 4.99.17 (Nocturno) #18: Mon Apr 16 00:32:16 CEST 2007 juan@nocturno:/home/juan/build/src/obj/sys/arch/amd64/compile/Nocturno amd64
Architecture: x86_64
Machine: amd64
>Description:
sysutils/xfce4-thunar version 0.8.0 doesn't build on amd64:
-Wl,-R/usr/pkg/lib -Wl,--as-needed -Wl,-O1 -Wl,--rpath -Wl,/usr/pkg/lib -pthread
-Wl,-soname -Wl,libthunar-vfs-1.so.2 -Wl,-retain-symbols-file -Wl,.libs/libthunar-vfs-1.exp -o .libs/
libthunar-vfs-1.so.2.2.2
ld: .libs/libthunar_vfs_1_la-thunar-vfs-deep-count-job.o: relocation R_X86_64_PC32 against `_thunar_vfs_marshal_VOID__UINT64_UINT_UINT_UINT' can not be used when making a shared object; recompile with
-fPIC
ld: final link failed: Bad value
I tried adding -fPIC with CFLAGS, into the objects in thunar-vfs/Makefile
but same problem... I don't know nothing about linker/shared linker.
>How-To-Repeat:
>Fix:
Yes, please.