Re: x86_64 probs with 2.12.1



On 10/9/05, Paul Drain <pd cipherfunk org> wrote:
>
> Hi Adam,
>
>         For a start, thanks for such a detailed report -- I haven't been able
> to test GNOME 2.12 on 64bit hardware as much as i'd like :)

Glad to be of help :)

> > > * GARNOME will use .pc files from 64bit library directories, if required.
> >
> > For what it's worth, I'm running fc3 / x86_64, and 2.12.1 failed for
> > me pretty quickly during linking; I googled up the errors, and after
> > some voodoo found that the following change made things work better:
> >
> >   #LDFLAGS += -Wl,--export-dynamic -L$(libdir)
> >   LDFLAGS += -L$(libdir)
>
> If you just remove the --export-dynamic, does it work? i've heard of
> similar issues before, but no-one has ever got back to me with a
> confirmed test.

I think the '-Wl,' arg is there just to introduce the
'--export-dynamic', and so also needs to be removed, else gcc
complains.

For reference (and for Google :) the error I get with
-Wl,--export-dynamic occurs in glib:

 cc -shared  .libs/garray.o .libs/gasyncqueue.o .libs/gatomic.o
.libs/gbacktrace.o .libs/gcache.o .libs/gcompletion.o .libs/gconvert.o
.libs/gdataset.o .libs/gdate.o .libs/gdir.o .libs/gerror.o
.libs/gfileutils.o .libs/ghash.o .libs/ghook.o .libs/giochannel.o
.libs/gkeyfile.o .libs/glist.o .libs/gmain.o .libs/gmappedfile.o
.libs/gmarkup.o .libs/gmem.o .libs/gmessages.o .libs/gnode.o
.libs/goption.o .libs/gpattern.o .libs/gprimes.o .libs/gqsort.o
.libs/gqueue.o .libs/grel.o .libs/grand.o .libs/gscanner.o
.libs/gshell.o .libs/gslist.o .libs/gstdio.o .libs/gstrfuncs.o
.libs/gstring.o .libs/gthread.o .libs/gthreadpool.o .libs/gtimer.o
.libs/gtree.o .libs/guniprop.o .libs/gutf8.o .libs/gunibreak.o
.libs/gunicollate.o .libs/gunidecomp.o .libs/gutils.o .libs/gprintf.o
.libs/giounix.o .libs/gspawn.o -Wl,--whole-archive
libcharset/.libs/libcharset.a -Wl,--no-whole-archive  -L/ita/gar66/lib
-L/lib64 -L/usr/lib64 -L/usr/local/lib64 -L/usr/X11R6/lib64 -lXtst 
-march=athlon64 -msse2 -mfpmath=sse -Wl,-O1 -Wl,-O1
-Wl,--export-dynamic -Wl,--export-dynamic -Wl,-soname
-Wl,libglib-2.0.so.0 -Wl,-version-script -Wl,.libs/libglib-2.0.ver -o
.libs/libglib-2.0.so.0.800.3
/usr/bin/ld: .libs/gconvert.o: relocation R_X86_64_PC32 against
`_g_charset_get_aliases' can not be used when making a shared object;
recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[12]: *** [libglib-2.0.la] Error 1
make[12]: Leaving directory `/ita/gar66/src/work/glib/main.d/glib-2.8.3/glib'

> BBC5 works in Totem (with the gst-ffmpeg plugin and a copy of MAD for
> decoding the stream) -- I used the totem-mozilla plugin to listen to
> most of the Ashes broadcast nicely in GARNOME.

Ooo, thanks for the tip; I'll give it a go !

Thanks,

 - Adam



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]