BUG: GLIB2 Fails to build on PPC using the OS X 10.5 Beta (WWDC)
When attempting to install libidl from macports (installed macports from source, selfupdate'd) everything builds just fine until the final linking phases of the GLIB2 package. Here are the errors:
(note: this only occured with GCC 4.0 on PPC, the intel version of the compiler worked just fine)
Extracting /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_glib2/work/glib-2.12.12/glib/libcharset/.libs/libcharset.a
(cd .libs/libglib-2.0.lax/libcharset.a && ar x /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_glib2/work/glib-2.12.12/glib/libcharset/.libs/libcharset.a)
sed -e "s,#.*" -e "s,[ ]*" -e "s,\(..*\),_&," < .libs/libglib-2.0.exp > .libs/libglib-2.0-symbols.expsym
gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libglib-2.0.0.1200.12.dylib .libs/garray.o .libs/gasyncqueue.o .libs/gatomic.o .libs/gbacktrace.o .libs/gbase64.o .libs/gbookmarkfile.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/gslice.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 .libs/libglib-2.0.lax/libcharset.a/localcharset.o -L/opt/local/lib -lc /opt/local/lib/libiconv.dylib /opt/local/lib/libintl.dylib -install_name /opt/local/lib/libglib-2.0.0.dylib -Wl,-compatibility_version -Wl,1201 -Wl,-current_version -Wl,1201.12
ld64-74.4 failed: bc out of range (394368 max is +/-64K) from _g_atomic_int_exchange_and_add in .libs/gatomic.o to _g_atomic_int_exchange_and_add$stub in .libs/libglib-2.0.0.1200.12.dylib in _g_atomic_int_exchange_and_add from .libs/gatomic.o
collect2: ld returned 1 exit status
make[4]: * [libglib-2.0.la] Error 1
make[3]: * [all-recursive] Error 1
make[2]: * [all] Error 2
make[1]: * [all-recursive] Error 1
make: * [all] Error 2
Change History (4)
Milestone: |
→ Port Bugs
|
Priority: |
Expected →
Normal
|
Summary: |
GLIB2 Fails to build on PPC using the OS X 10.5 Beta (WWDC) →
BUG: GLIB2 Fails to build on PPC using the OS X 10.5 Beta (WWDC)
|
Version: |
1.4.42
|
Cc: |
nick.kreeger@… ryandesign@… added
|
Owner: |
changed from macports-dev@… to ryandesign@…
|
Resolution: |
→ duplicate
|
Status: |
new →
closed
|
I believe this is a duplicate of #13052 now. In the future, please Cc bugs to the port's maintainers so they're seen sooner.