Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#2927 closed defect (invalid)

BUG: gnome-vfs won't build with gcc 4.0

Reported by: tph@… Owned by: gnome-darwinports@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: cjr@…, firepoet78@…, jiggywiggy@…
Port:

Description

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

Attachments (1)

diff-gnome-vfs (525 bytes) - added by olegb@… 19 years ago.
remove teh flat_namespace

Download all attachments as: .zip

Change History (31)

comment:1 Changed 19 years ago by jmpp@…

Owner: changed from darwinports-bugs@… to gnome-darwinports@…

Assign bug to port maintainer!

comment:2 Changed 19 years ago by snu@…

Summary: gnome-vfs won't build with gcc 4.0BUG: gnome-vfs won't build with gcc 4.0

comment:3 Changed 19 years ago by olegb@…

what version are you running ?

I have build the entire gnome-2.10 with gcc4 and tigger 8a428. This seems rather strange.

comment:4 Changed 19 years ago by tph@…

(In reply to comment #4)

what version are you running ?

I have build the entire gnome-2.10 with gcc4 and tigger 8a428. This seems rather strange.

I initially reported this with Darwin Ports installed via CVS on 8a425. I'm now using DP 1.0 (I erased all of /opt/local/ before going to 1.0) on 8a428. I still get the same errors with GCC 4.0, though, so everything I reported is still accurate.

comment:5 Changed 19 years ago by cjr@…

(In reply to comment #5)

I'm seeing the same linker errors as Tom, on Tiger.

comment:6 Changed 19 years ago by cjr@…

op_sys: Mac OS X 10.3Mac OS X 10.4

comment:7 Changed 19 years ago by yves@…

(In reply to comment #6)

(In reply to comment #5)

I'm seeing the same linker errors as Tom, on Tiger.

I have gnome-vfs built ok on 10.4 with dp-1.0 ...

comment:8 Changed 19 years ago by olegb@…

What other ports do you have installed ? Could some port be messing about and be found by configure, maybe neon or something ?

comment:9 Changed 19 years ago by tph@…

(In reply to comment #8)

What other ports do you have installed ? Could some port be messing about and be found by

configure,

maybe neon or something ?

For what it's worth, my list of installed ports follows. I'm not sure what neon would have to do with it, it's not installed at the moment.

% port installed The following ports are currently installed:

atk 1.9.0_0 atk 1.9.1_0 (active) desktop-file-utils 0.8_0 (active) expat 1.95.8_1 (active) fontconfig 2.2.3_1 (active) freetype 2.1.9_1 (active) gconf 2.10.0_0 (active) gettext 0.14.3_1 (active) glib2 2.6.4_0 glib2 2.6.4_1 (active) gnome-mime-data 2.4.2_0 (active) gtk2 2.6.7_0+darwin_8 gtk2 2.6.7_1+darwin_8 (active) intltool 0.33_0 (active) jpeg 6b_0 (active) libbonobo 2.8.1_0 (active) libiconv 1.9.2_1 (active) libidl 0.8.5_0 (active) libpng 1.2.8_1 (active) libxml2 2.6.16_0 (active) orbit2 2.12.1_0 (active) p5-xml-parser 2.34_3 (active) pango 1.8.0_0 pango 1.8.1_0 (active) perl5.8 5.8.6_1 (active) pkgconfig 0.17.2_0 pkgconfig 0.17.2_1 (active) popt 1.7_3 (active) render 0.8_2 (active) tiff 3.7.1_0 (active) wget 1.9.1_0 (active) Xft2 2.1.6_0 (active) xrender 0.8.4_0 (active) zlib 1.2.2_1 (active)

comment:10 Changed 19 years ago by cjr@…

(In reply to comment #8)

What other ports do you have installed ? Could some port be messing about and be found by configure, maybe neon or something ?

I zapped my entire /opt/local tree, and tried a port -vdf install gnome-vfs. It failed with the "Command output: /usr/lib/libgcc.a(unwind-dw2-fde-darwin.o) private external definition of _deregister_frame_info in section (TEXT,text)" errors.

comment:11 Changed 19 years ago by cjr@…

Cc: cjr@… added

comment:12 Changed 19 years ago by firepoet78@…

(In reply to comment #10) I too am getting this same problems:

/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

... etc ...

Installed:

The following ports are currently installed:

atk 1.9.1_0 (active) audiofile 0.2.6_0 (active) autoconf 2.59_0 (active) automake 1.9.5_0 (active) desktop-file-utils 0.8_0 (active) esound 0.2.35_1 (active) expat 1.95.8_1 (active) fontconfig 2.2.3_1 (active) freetype 2.1.9_1 (active) gconf 2.10.0_0 (active) gettext 0.14.3_1 (active) glib1 1.2.10_4 (active) glib2 2.6.4_1 (active) gnome-mime-data 2.4.2_0 (active) gtk1 1.2.10_6 (active) gtk2 2.6.7_1+darwin_8 (active) ImageMagick 6.2.0-6_0 (active) intltool 0.33_0 (active) jpeg 6b_1 (active) libbonobo 2.8.1_0 (active) libiconv 1.9.2_1 (active) libidl 0.8.5_0 (active) libpng 1.2.8_1 (active) libtool 1.5.18_0 (active) libxml2 2.6.16_0 (active) orbit2 2.12.1_0 (active) p5-xml-parser 2.34_3 (active) pango 1.8.1_0 (active) perl5.8 5.8.6_1 (active) pkgconfig 0.17.2_1 (active) popt 1.7_3 (active) render 0.8_2 (active) streamripper 1.61.8_0 (active) tiff 3.7.1_0 (active) Xft2 2.1.6_0 (active) xrender 0.8.4_0 (active) zlib 1.2.2_1 (active)

comment:13 Changed 19 years ago by firepoet78@…

Cc: firepoet78@… added

Changed 19 years ago by olegb@…

Attachment: diff-gnome-vfs added

remove teh flat_namespace

comment:14 Changed 19 years ago by olegb@…

I *still* cannot reproduce this, would you guys try this patch.

comment:15 Changed 19 years ago by cjr@…

(In reply to comment #13)

I *still* cannot reproduce this, would you guys try this patch.

No change, Ole, it still fails building libhttp with the same errors. I wonder if our libgcc* archives are different? (libgcc_eh.a is mentioned in the error.)

% cd /usr/lib/gcc/powerpc-apple-darwin8/4.0.0 % md5 *a *dylib MD5 (libcc_kext.a) = 888e1f5c61f2e6fb1ff56ce3674fc4a7 MD5 (libgcc.a) = 4f13bb7c12023ae299a7afbb9190387a MD5 (libgcc_eh.a) = 0831c75459d25d996f7fd84f986348a3 MD5 (libgcc_static.a) = 4e4288dcd608c3ec04bdab6d37139fce MD5 (libgcov.a) = 6939e90bdc474f7768fa1b6fcab36cac MD5 (libgcc_s.dylib) = 23ad08e0d632a1ba1fa90d293f3eeff8 MD5 (libgcc_s_ppc64.dylib) = c26054c067c314e8eaf881d998566901 MD5 (libstdc++.dylib) = 473166f18552c9c8c3cb984003b8e2aa

comment:16 Changed 19 years ago by myronwu@…

I think something's wrong with the default installation of gcc 4.0. I was having the same problems with a relatively new install of tiger and darwinports, but I ran a gcc_select 3.3 and then gcc_select 4.0 and gnome-vfs built fine. If someone else would like to reconfirm....

comment:17 Changed 19 years ago by mathieu_carpentier_2x4@…

(In reply to comment #15)

I think something's wrong with the default installation of gcc 4.0. I was

having the same problems with

a relatively new install of tiger and darwinports, but I ran a gcc_select 3.3

and then gcc_select 4.0 and

gnome-vfs built fine. If someone else would like to reconfirm....

I had the same problem and tried the gcc_select command. Doing the gcc_select 3.3 followed with gcc_select 4.0 allowed me to build this port with success. I'm running OSX 10.4 (upgrade to 10.4, not an 'archive and Install').

comment:18 Changed 19 years ago by firepoet78@…

Worked for me!

(In reply to comment #15)

I think something's wrong with the default installation of gcc 4.0. I was

having the same problems with

a relatively new install of tiger and darwinports, but I ran a gcc_select 3.3

and then gcc_select 4.0 and

gnome-vfs built fine. If someone else would like to reconfirm....

comment:19 Changed 19 years ago by cjr@…

(In reply to comment #15)

I think something's wrong with the default installation of gcc 4.0. I was having the same problems with a relatively new install of tiger and darwinports, but I ran a gcc_select 3.3 and then gcc_select 4.0 and gnome-vfs built fine. If someone else would like to reconfirm....

Yes, this works for me too. Has this problem been reported to Apple? A test case smaller than gnome-vfs would be nice!

comment:20 Changed 19 years ago by myronwu@…

Probably hasn't been reported yet, google doesn't yield much on it. As for pinpointing what it is, I'm guessing it's a symlink that's not pointing to the right place...? Is this only happening for people who upgraded? Mine was an upgrade from 10.3 and so was someone else's above.

(In reply to comment #18)

Yes, this works for me too. Has this problem been reported to Apple? A test case smaller than

gnome-vfs would be nice!

comment:21 Changed 19 years ago by cjr@…

(In reply to comment #19)

Probably hasn't been reported yet, google doesn't yield much on it.

Most of the hits end up here :-)

As for pinpointing what it is, I'm

guessing it's a symlink that's not pointing to the right place...? Is this only happening for people who upgraded? Mine was an upgrade from 10.3 and so was someone else's above.

Mine's an upgrade, but an erase and install one.

I did a repair permissions after installing the dev tools, and it did say it fixed a bunch of stuff (including fixing missing symlinks, IIRC) around gcc. That may be relevant, but since I now can't repro the original problem it is hard to tell.

comment:22 Changed 19 years ago by myronwu@…

(In reply to comment #20)

I did a repair permissions after installing the dev tools, and it did say it fixed a bunch of stuff (including fixing missing symlinks, IIRC) around gcc. That may be relevant, but since I now can't repro the original problem it is hard to tell.

Hey hey, we have our culprit. I just repaired permissions and sure enough, disk utility reverts gcc's symlinks to the 3.3 directories. I'm kind of surprised this hasn't affected other ports I've built before gnome-vfs... Anyways I guess I'll file this off to Apple feedback.

comment:23 Changed 19 years ago by cjr@…

(In reply to comment #21)

Hey hey, we have our culprit. I just repaired permissions and sure enough, disk utility reverts gcc's symlinks to the 3.3 directories. I'm kind of surprised this hasn't affected other ports I've built before gnome-vfs... Anyways I guess I'll file this off to Apple feedback.

It might be worth seeing if the problem's still there in Xcode 2.1.

comment:24 Changed 19 years ago by myronwu@…

Yeah I was thinking that too, but I was at 50% downloaded at the time. I upgraded this morning and tried it out and sure enough, it's still a problem. I'm pretty sure it's Disk Utility that has it hard-coded that those symlinks point to 3.3 directories... From Disk Utility's log:

Symbolic link ./usr/lib/gcc/darwin/default->3.3 repaired Symbolic link ./usr/lib/libcc_dynamic.a->gcc/darwin/default/libgcc.a repaired Symbolic link ./usr/lib/libcc_kext.a->gcc/darwin/default/libcc_kext.a repaired Symbolic link ./usr/lib/libgcc.a->gcc/darwin/default/libgcc.a repaired Symbolic link ./usr/lib/libstdc++.a->gcc/darwin/default/libstdc++.a repaired Symbolic link ./usr/lib/libsupc++.a->gcc/darwin/default/libsupc++.a repaired

And then of course,

% gcc -v <blah blah blah> gcc version 4.0.0 (Apple Computer, Inc. build 5026)

(In reply to comment #22)

It might be worth seeing if the problem's still there in Xcode 2.1.

comment:25 Changed 19 years ago by cjr@…

(In reply to comment #23)

Yeah I was thinking that too, but I was at 50% downloaded at the time. I upgraded this morning and tried it out and sure enough, it's still a problem.

I just raised a bug with Apple. (rdr://4141928) I referenced this bug :-)

It is worth raising it yourself as well.

comment:26 Changed 19 years ago by paulbeard@…

I was seeing similar errors:

Making all in neon make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in modules /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 /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_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 "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_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

Upgrading to XCode 2.1 [gcc version 4.0.0 (Apple Computer, Inc. build 5026)] seems to have resolved it.

comment:27 Changed 19 years ago by cjr@…

(In reply to comment #25)

Upgrading to XCode 2.1 [gcc version 4.0.0 (Apple Computer, Inc. build 5026)] seems to have resolved it.

Only until you run a "fix permissions", at which point it'll break again.

I'm going to resolve this bug, since this is Apple's bug and there's a straightforward way to fix it:

$ sudo gcc_select -force 4.0

comment:28 Changed 19 years ago by cjr@…

Resolution: invalid
Status: newclosed

comment:29 Changed 19 years ago by olegb@…

Cc: jiggywiggy@… added

comment:30 Changed 19 years ago by olegb@…

* Bug 3597 has been marked as a duplicate of this bug. *

Note: See TracTickets for help on using tickets.