! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
build fails with R_X86_64_PC32 against `_thunar_vfs_marshal_VOID__UINT64_UINT...
Status:
RESOLVED: WONTFIX
Product:
Thunar-vfs
Component:
General

Comments

Description reed 2009-03-17 16:29:06 CET
Making all in thunar-vfs
make  all-am
/bin/ksh ../libtool --tag=CC    --mode=link gcc  -D_REENTRANT -I/usr/pkg/include/exo-0.3 -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/include/xfce4 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12 -pthread -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include    -I/usr/pkg/include/libpng12  -I/usr/pkg/include/startup-notification-1.0   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/pkg/include/exo-0.3 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/hal -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include						 -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/pkg/include/hal -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include							 -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -g -O2  -export-dynamic							 -export-symbols-regex "^[^_].*"					 -version-info 5:1:3					 -Wl,-O1 -Wl,--as-needed -o libthunar-vfs-1.la -rpath /usr/local/lib libthunar_vfs_1_la-thunar-vfs-volume-hal.lo   libthunar_vfs_1_la-thunar-vfs-aliasdef.lo  libthunar_vfs_1_la-thunar-vfs-enum-types.lo  libthunar_vfs_1_la-thunar-vfs-marshal.lo  libthunar_vfs_1_la-thunar-vfs-io-jobs.lo  libthunar_vfs_1_la-thunar-vfs-io-local.lo  libthunar_vfs_1_la-thunar-vfs-io-local-xfer.lo  libthunar_vfs_1_la-thunar-vfs-io-ops.lo  libthunar_vfs_1_la-thunar-vfs-io-scandir.lo  libthunar_vfs_1_la-thunar-vfs-io-trash.lo libthunar_vfs_1_la-thunar-vfs-os-bsd.lo    libthunar_vfs_1_la-thunar-vfs-config.lo  libthunar_vfs_1_la-thunar-vfs-deep-count-job.lo  libthunar_vfs_1_la-thunar-vfs-exec.lo  libthunar_vfs_1_la-thunar-vfs-info.lo  libthunar_vfs_1_la-thunar-vfs-interactive-job.lo  libthunar_vfs_1_la-thunar-vfs-job.lo  libthunar_vfs_1_la-thunar-vfs-mime-action.lo  libthunar_vfs_1_la-thunar-vfs-mime-application.lo  libthunar_vfs_1_la-thunar-vfs-mime-cache.lo  libthunar_vfs_1_la-thunar-vfs-mime-database.lo  libthunar_vfs_1_la-thunar-vfs-mime-handler.lo  libthunar_vfs_1_la-thunar-vfs-mime-info.lo  libthunar_vfs_1_la-thunar-vfs-mime-legacy.lo  libthunar_vfs_1_la-thunar-vfs-mime-parser.lo  libthunar_vfs_1_la-thunar-vfs-mime-provider.lo  libthunar_vfs_1_la-thunar-vfs-mime-sniffer.lo  libthunar_vfs_1_la-thunar-vfs-monitor.lo  libthunar_vfs_1_la-thunar-vfs-path.lo  libthunar_vfs_1_la-thunar-vfs-private.lo  libthunar_vfs_1_la-thunar-vfs-simple-job.lo  libthunar_vfs_1_la-thunar-vfs-thumb-jpeg.lo  libthunar_vfs_1_la-thunar-vfs-thumb.lo  libthunar_vfs_1_la-thunar-vfs-transfer-job.lo  libthunar_vfs_1_la-thunar-vfs-user.lo  libthunar_vfs_1_la-thunar-vfs-util.lo  libthunar_vfs_1_la-thunar-vfs-volume.lo  libthunar_vfs_1_la-thunar-vfs-volume-manager.lo  libthunar_vfs_1_la-thunar-vfs.lo -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lexo-0.3 -lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lcairo -lpangoft2-1.0 -lX11 -lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -lgthread-2.0 -lglib-2.0 -lintl    -L/usr/pkg/lib -lpng12 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lstartup-notification-1  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lexo-hal-0.3 -lglib-2.0 -lintl -lhal-storage -lhal -ldbus-1							 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lhal-storage -lhal -ldbus-1							 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lintl 
libtool: link: rm -fr  .libs/libthunar-vfs-1.exp
libtool: link: /usr/bin/nm -B  .libs/libthunar_vfs_1_la-thunar-vfs-volume-hal.o .libs/libthunar_vfs_1_la-thunar-vfs-aliasdef.o .libs/libthunar_vfs_1_la-thunar-vfs-enum-types.o .libs/libthunar_vfs_1_la-thunar-vfs-marshal.o .libs/libthunar_vfs_1_la-thunar-vfs-io-jobs.o .libs/libthunar_vfs_1_la-thunar-vfs-io-local.o .libs/libthunar_vfs_1_la-thunar-vfs-io-local-xfer.o .libs/libthunar_vfs_1_la-thunar-vfs-io-ops.o .libs/libthunar_vfs_1_la-thunar-vfs-io-scandir.o .libs/libthunar_vfs_1_la-thunar-vfs-io-trash.o .libs/libthunar_vfs_1_la-thunar-vfs-os-bsd.o .libs/libthunar_vfs_1_la-thunar-vfs-config.o .libs/libthunar_vfs_1_la-thunar-vfs-deep-count-job.o .libs/libthunar_vfs_1_la-thunar-vfs-exec.o .libs/libthunar_vfs_1_la-thunar-vfs-info.o .libs/libthunar_vfs_1_la-thunar-vfs-interactive-job.o .libs/libthunar_vfs_1_la-thunar-vfs-job.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-action.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-application.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-cache.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-database.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-handler.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-info.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-legacy.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-parser.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-provider.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-sniffer.o .libs/libthunar_vfs_1_la-thunar-vfs-monitor.o .libs/libthunar_vfs_1_la-thunar-vfs-path.o .libs/libthunar_vfs_1_la-thunar-vfs-private.o .libs/libthunar_vfs_1_la-thunar-vfs-simple-job.o .libs/libthunar_vfs_1_la-thunar-vfs-thumb-jpeg.o .libs/libthunar_vfs_1_la-thunar-vfs-thumb.o .libs/libthunar_vfs_1_la-thunar-vfs-transfer-job.o .libs/libthunar_vfs_1_la-thunar-vfs-user.o .libs/libthunar_vfs_1_la-thunar-vfs-util.o .libs/libthunar_vfs_1_la-thunar-vfs-volume.o .libs/libthunar_vfs_1_la-thunar-vfs-volume-manager.o .libs/libthunar_vfs_1_la-thunar-vfs.o   | sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libthunar-vfs-1.exp
libtool: link: /usr/bin/grep -E -e "^[^_].*" ".libs/libthunar-vfs-1.exp" > ".libs/libthunar-vfs-1.expT"
libtool: link: mv -f ".libs/libthunar-vfs-1.expT" ".libs/libthunar-vfs-1.exp"
libtool: link: gcc -shared  .libs/libthunar_vfs_1_la-thunar-vfs-volume-hal.o .libs/libthunar_vfs_1_la-thunar-vfs-aliasdef.o .libs/libthunar_vfs_1_la-thunar-vfs-enum-types.o .libs/libthunar_vfs_1_la-thunar-vfs-marshal.o .libs/libthunar_vfs_1_la-thunar-vfs-io-jobs.o .libs/libthunar_vfs_1_la-thunar-vfs-io-local.o .libs/libthunar_vfs_1_la-thunar-vfs-io-local-xfer.o .libs/libthunar_vfs_1_la-thunar-vfs-io-ops.o .libs/libthunar_vfs_1_la-thunar-vfs-io-scandir.o .libs/libthunar_vfs_1_la-thunar-vfs-io-trash.o .libs/libthunar_vfs_1_la-thunar-vfs-os-bsd.o .libs/libthunar_vfs_1_la-thunar-vfs-config.o .libs/libthunar_vfs_1_la-thunar-vfs-deep-count-job.o .libs/libthunar_vfs_1_la-thunar-vfs-exec.o .libs/libthunar_vfs_1_la-thunar-vfs-info.o .libs/libthunar_vfs_1_la-thunar-vfs-interactive-job.o .libs/libthunar_vfs_1_la-thunar-vfs-job.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-action.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-application.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-cache.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-database.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-handler.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-info.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-legacy.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-parser.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-provider.o .libs/libthunar_vfs_1_la-thunar-vfs-mime-sniffer.o .libs/libthunar_vfs_1_la-thunar-vfs-monitor.o .libs/libthunar_vfs_1_la-thunar-vfs-path.o .libs/libthunar_vfs_1_la-thunar-vfs-private.o .libs/libthunar_vfs_1_la-thunar-vfs-simple-job.o .libs/libthunar_vfs_1_la-thunar-vfs-thumb-jpeg.o .libs/libthunar_vfs_1_la-thunar-vfs-thumb.o .libs/libthunar_vfs_1_la-thunar-vfs-transfer-job.o .libs/libthunar_vfs_1_la-thunar-vfs-user.o .libs/libthunar_vfs_1_la-thunar-vfs-util.o .libs/libthunar_vfs_1_la-thunar-vfs-volume.o .libs/libthunar_vfs_1_la-thunar-vfs-volume-manager.o .libs/libthunar_vfs_1_la-thunar-vfs.o   -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/pkg/lib -L/usr/pkg/lib /usr/pkg/lib/libexo-0.3.so -L/usr/pkg/lib/python2.5/config /usr/pkg/lib/libgtk-x11-2.0.so /usr/pkg/lib/libxfce4util.so /usr/pkg/lib/libgdk-x11-2.0.so /usr/pkg/lib/libatk-1.0.so /usr/pkg/lib/libgdk_pixbuf-2.0.so /usr/pkg/lib/libpangocairo-1.0.so /usr/pkg/lib/libgio-2.0.so /usr/pkg/lib/libXinerama.so /usr/pkg/lib/libXi.so /usr/pkg/lib/libXrandr.so /usr/pkg/lib/libXext.so /usr/pkg/lib/libXcursor.so /usr/pkg/lib/libXfixes.so /usr/pkg/lib/libcairo.so /usr/pkg/lib/libpixman-1.so /usr/pkg/lib/libglitz.so /usr/pkg/lib/libXrender.so /usr/pkg/lib/libpangoft2-1.0.so /usr/pkg/lib/libpango-1.0.so /usr/pkg/lib/libfontconfig.so /usr/pkg/lib/libfreetype.so /usr/pkg/lib/libexpat.so /usr/pkg/lib/libgmodule-2.0.so /usr/pkg/lib/libgthread-2.0.so /usr/pkg/lib/libpng12.so -lz -lm /usr/pkg/lib/libstartup-notification-1.so /usr/pkg/lib/libSM.so /usr/pkg/lib/libICE.so /usr/pkg/lib/libX11.so /usr/pkg/lib/libXau.so /usr/pkg/lib/libXdmcp.so /usr/pkg/lib/libexo-hal-0.3.so /usr/pkg/lib/libhal-storage.so /usr/pkg/lib/libhal.so /usr/pkg/lib/libdbus-glib-1.so /usr/pkg/lib/libdbus-1.so /usr/pkg/lib/libgobject-2.0.so /usr/pkg/lib/libglib-2.0.so /usr/pkg/lib/libpcre.so -lintl  -pthread -Wl,-O1 -Wl,--as-needed -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -pthread -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib   -pthread -Wl,-soname -Wl,libthunar-vfs-1.so.5 -Wl,-retain-symbols-file -Wl,.libs/libthunar-vfs-1.exp -o .libs/libthunar-vfs-1.so.5.1
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
*** Error code 1*** Error code 1*** Error code 1*** Error code 1

Stop.

Using libtool 1.5.26 and gcc 4.1.3
Comment 1 Nick Schermer editbugs 2009-03-17 20:07:50 CET
Not our problem. If you search google a _lot_ of software breaks this way, I've never looking in to it, but it's something wrong in your environment.
Comment 2 reed 2009-03-17 21:08:44 CET
Here is a patch from pkgsrc for fixing build on AMD64 by avoiding text relocations. As far as I know this is tested on non-NetBSD and non-x86_64 also.

--- thunar-vfs/thunar-vfs-marshal.h.orig	2009-03-17 15:56:25.000000000 -0500
+++ thunar-vfs/thunar-vfs-marshal.h	2009-03-17 15:57:43.000000000 -0500
@@ -12,7 +12,7 @@
                                                   guint         n_param_values,
                                                   const GValue *param_values,
                                                   gpointer      invocation_hint,
-                                                  gpointer      marshal_data) G_GNUC_INTERNAL;
+                                                  gpointer      marshal_data);
 
 /* FLAGS:BOXED,BOXED (thunar-vfs-marshal.list:2) */
 extern void _thunar_vfs_marshal_FLAGS__BOXED_BOXED (GClosure     *closure,
@@ -20,7 +20,7 @@
                                                     guint         n_param_values,
                                                     const GValue *param_values,
                                                     gpointer      invocation_hint,
-                                                    gpointer      marshal_data) G_GNUC_INTERNAL;
+                                                    gpointer      marshal_data);
 
 /* FLAGS:STRING,FLAGS (thunar-vfs-marshal.list:3) */
 extern void _thunar_vfs_marshal_FLAGS__STRING_FLAGS (GClosure     *closure,
@@ -28,7 +28,7 @@
                                                      guint         n_param_values,
                                                      const GValue *param_values,
                                                      gpointer      invocation_hint,
-                                                     gpointer      marshal_data) G_GNUC_INTERNAL;
+                                                     gpointer      marshal_data);
 
 /* VOID:UINT64,UINT,UINT,UINT (thunar-vfs-marshal.list:4) */
 extern void _thunar_vfs_marshal_VOID__UINT64_UINT_UINT_UINT (GClosure     *closure,
@@ -36,7 +36,7 @@
                                                              guint         n_param_values,
                                                              const GValue *param_values,
                                                              gpointer      invocation_hint,
-                                                             gpointer      marshal_data) G_GNUC_INTERNAL;
+                                                             gpointer      marshal_data);
 
 G_END_DECLS
Comment 3 reed 2009-03-17 21:18:06 CET
I re-opened this. See the patch I provided. Thanks.
Comment 4 Nick Schermer editbugs 2009-03-20 23:15:59 CET
Created attachment 2246 
Use --internal

Simply removing the internal macros is not ideal. Could you try the attached patch?
Comment 5 Nick Schermer editbugs 2014-12-03 09:19:54 CET
Close bug reports of archived products.

Bug #5116

Reported by:
reed
Reported on: 2009-03-17
Last modified on: 2014-12-03

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Version:
unspecified

Attachments

Use --internal (568 bytes, patch)
2009-03-20 23:15 CET , Nick Schermer
no flags

Additional information