id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 2927,BUG: gnome-vfs won't build with gcc 4.0,tph@…,gnome-darwinports@…,"Building gnome-vfs works with gcc 3.3 but fails with 4.0 on the same system (note the OS should be 10.4, not 10.3, but 10.4's not a choice yet). The errors when the gcc 4.0 build dies are at the end of this description. A full ""port -v install gnome-vfs"" log will be attached, for both gcc 3.3 and gcc 4.0. In addition to the errors below at the end of the build process, a comparison to building with gcc 3.3 shows numerous warnings similar to this one: gnome-vfs-address.c:50:1: warning: ""SIN6_LEN"" redefined In file included from /usr/include/netinet/in.h:494, from /usr/include/netdb.h:86, from ../libgnomevfs/gnome-vfs-address.h:31, from gnome-vfs-address.c:22: /usr/include/netinet6/in6.h:146:1: warning: this is the location of the previous definition Numerous warnings like this one also show up with 4.0 but not with 3.3: gnome-vfs-daemon-method.c: In function 'do_write': gnome-vfs-daemon-method.c:363: warning: pointer targets in assignment differ in signedness gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../imported/neon -DORBIT2=1 -I/opt/local/include/glib -2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/ include/gconf/2 -I/opt/local/include/orbit-2.0 -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/ local/lib/glib-2.0/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/usr/include -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DSSH_PROGRAM=\""/usr/bin/ssh\"" -DG_DISABLE_DEPRECATED -DDATADIR=\""/opt/ local/share\"" -DPREFIX=\""/opt/local\"" -DLIBDIR=\""/opt/local/lib\"" -DSYSCONFDIR=\""/opt/local/etc\"" -DG_LOG_DOMAIN=\""gnome-vfs-modules\"" -L/opt/local/lib -I/opt/local/include -no-cpp-precomp -g -O2 -c http-proxy.c -MT http-proxy.lo -MD -MP -MF .deps/http-proxy.TPlo -fno-common -DPIC -o .libs/http-proxy.o /bin/sh ../libtool --mode=link gcc -g -O2 -lresolv -flat_namespace -o libhttp.la -rpath /opt/local/ lib/gnome-vfs-2.0/modules -export_dynamic -avoid-version -module -no-undefined http-neon- method.lo http-proxy.lo -L/opt/local/lib -lgobject-2.0 -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv ../imported/neon/libneon.la ../libgnomevfs/libgnomevfs-2.la gcc -o .libs/libhttp.so -bundle .libs/http-neon-method.o .libs/http-proxy.o -all_load ../imported/ neon/.libs/libneon.a -L/opt/local/lib /Users/admin/darwinports/darwinports/dports/gnome/gnome- vfs/work/gnome-vfs-2.10.0/libgnomevfs/.libs/libgnomevfs-2.dylib /opt/local/lib/libssl.dylib /opt/ local/lib/libcrypto.dylib /opt/local/lib/libz.dylib /opt/local/lib/libgconf-2.dylib /opt/local/lib/ libbonobo-2.dylib /opt/local/lib/libbonobo-activation.dylib /opt/local/lib/libORBitCosNaming-2.dylib /opt/local/lib/libORBit-2.dylib /opt/local/lib/libpopt.dylib /opt/local/lib/libgobject-2.0.dylib /opt/ local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/ local/lib/libintl.dylib -lc -lssl -lcrypto -L/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv / opt/local/lib/libxml2.dylib /usr/lib/libpthread.dylib /usr/lib/libm.dylib -lpthread -lz /opt/local/lib/ libiconv.dylib -lm ../libgnomevfs/.libs/libgnomevfs-2.dylib /usr/lib/libresolv.dylib /usr/lib/libc.dylib /usr/bin/ld: warning -prebind has no effect with -bundle /usr/bin/ld: multiple definitions of symbol __Unwind_DeleteException /usr/lib/libgcc.a(unwind-dw2.o) private external definition of __Unwind_DeleteException in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2.o) private external definition of __Unwind_DeleteException in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol __Unwind_FindEnclosingFunction /usr/lib/libgcc.a(unwind-dw2.o) private external definition of __Unwind_FindEnclosingFunction in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2.o) private external definition of __Unwind_FindEnclosingFunction in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol __Unwind_ForcedUnwind /usr/lib/libgcc.a(unwind-dw2.o) private external definition of __Unwind_ForcedUnwind in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2.o) private external definition of __Unwind_ForcedUnwind in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol __Unwind_GetDataRelBase /usr/lib/libgcc.a(unwind-dw2.o) private external definition of __Unwind_GetDataRelBase in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2.o) private external definition of __Unwind_GetDataRelBase in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol __Unwind_GetGR /usr/lib/libgcc.a(unwind-dw2.o) private external definition of __Unwind_GetGR in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2.o) private external definition of __Unwind_GetGR in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol __Unwind_GetIP /usr/lib/libgcc.a(unwind-dw2.o) private external definition of __Unwind_GetIP in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2.o) private external definition of __Unwind_GetIP in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol __Unwind_GetLanguageSpecificData /usr/lib/libgcc.a(unwind-dw2.o) private external definition of __Unwind_GetLanguageSpecificData in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2.o) private external definition of __Unwind_GetLanguageSpecificData in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol __Unwind_GetRegionStart /usr/lib/libgcc.a(unwind-dw2.o) private external definition of __Unwind_GetRegionStart in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2.o) private external definition of __Unwind_GetRegionStart in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol __Unwind_GetTextRelBase /usr/lib/libgcc.a(unwind-dw2.o) private external definition of __Unwind_GetTextRelBase in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2.o) private external definition of __Unwind_GetTextRelBase in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol __Unwind_RaiseException /usr/lib/libgcc.a(unwind-dw2.o) private external definition of __Unwind_RaiseException in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2.o) private external definition of __Unwind_RaiseException in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol __Unwind_Resume /usr/lib/libgcc.a(unwind-dw2.o) private external definition of __Unwind_Resume in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2.o) private external definition of __Unwind_Resume in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol __Unwind_SetGR /usr/lib/libgcc.a(unwind-dw2.o) private external definition of __Unwind_SetGR in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2.o) private external definition of __Unwind_SetGR in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol __Unwind_SetIP /usr/lib/libgcc.a(unwind-dw2.o) private external definition of __Unwind_SetIP in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2.o) private external definition of __Unwind_SetIP in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___frame_state_for /usr/lib/libgcc.a(unwind-dw2.o) private external definition of ___frame_state_for in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2.o) private external definition of ___frame_state_for in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol __Unwind_Find_FDE /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of __Unwind_Find_FDE in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of __Unwind_Find_FDE in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___deregister_frame /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___deregister_frame in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___deregister_frame in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___deregister_frame_info /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___deregister_frame_info in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___deregister_frame_info in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___deregister_frame_info_bases /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___deregister_frame_info_bases in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___deregister_frame_info_bases in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___register_frame /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___register_frame_info /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___register_frame_info_bases /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info_bases in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info_bases in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___register_frame_info_table /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info_table in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info_table in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___register_frame_info_table_bases /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info_table_bases in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info_table_bases in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___register_frame_table /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_table in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_table in section (__TEXT,__text) /usr/bin/ld: warning multiple definitions of symbol _locale_charset /opt/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset /opt/local/lib/libiconv.dylib(localcharset.o) definition of _locale_charset collect2: ld returned 1 exit status make[2]: *** [libhttp.la] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Target com.apple.build returned: shell command ""cd ""/Users/admin/darwinports/darwinports/ dports/gnome/gnome-vfs/work/gnome-vfs-2.10.0"" && make all"" returned error 2 Command output: /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___deregister_frame_info in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___deregister_frame_info in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___deregister_frame_info_bases /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___deregister_frame_info_bases in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___deregister_frame_info_bases in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___register_frame /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___register_frame_info /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___register_frame_info_bases /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info_bases in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info_bases in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___register_frame_info_table /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info_table in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info_table in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___register_frame_info_table_bases /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info_table_bases in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_info_table_bases in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol ___register_frame_table /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_table in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_eh.a(unwind-dw2-fde-darwin.o) private external definition of ___register_frame_table in section (__TEXT,__text) /usr/bin/ld: warning multiple definitions of symbol _locale_charset /opt/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset /opt/local/lib/libiconv.dylib(localcharset.o) definition of _locale_charset collect2: ld returned 1 exit status make[2]: *** [libhttp.la] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for gnome-vfs): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install atomicbird:~/darwinports/darwinports/dports admin$ exit",defect,closed,Normal,,ports,1.0,invalid,,cjr@… firepoet78@… jiggywiggy@…,