Opened 19 years ago

Closed 18 years ago

#7453 closed defect (worksforme)

boehmgc fails to build on i386 10.4.5, XCode2.2.1/gcc4.0.1

Reported by: tony.bigbee@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: markd@…
Port:

Description

Build fails with and shell environment variable CFLAGS="" or CFLAGS=-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386

%sudo port install boehmgc ---> Building boehmgc with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_boehmgc/work/gc6.6" && make all" returned error 2 Command output: Making all in doc make[1]: Nothing to be done for `all'. Making all in include make[1]: Nothing to be done for `all'. if /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.6\" -DPACKAGE_STRING=\"gc\ 6.6\" -DPACKAGE_BUGREPORT=\"Hans.Boehm@…\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=6 -DPACKAGE=\"gc\" -DVERSION=\"6.6\" -DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DPARALLEL_MARK=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I./include -fexceptions -g -O2 -fexceptions -MT allchblk.lo -MD -MP -MF ".deps/allchblk.Tpo" -c -o allchblk.lo allchblk.c; \ then mv -f ".deps/allchblk.Tpo" ".deps/allchblk.Plo"; else rm -f ".deps/allchblk.Tpo"; exit 1; fi rm -f .libs/allchblk.lo /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.6\" "-DPACKAGE_STRING=\"gc 6.6\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm@…\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=6 -DPACKAGE=\"gc\" -DVERSION=\"6.6\" -DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DPARALLEL_MARK=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I./include -fexceptions -g -O2 -fexceptions -MT allchblk.lo -MD -MP -MF .deps/allchblk.Tpo -c allchblk.c -fno-common -DPIC -o .libs/allchblk.lo In file included from ./include/private/gc_priv.h:66,

from allchblk.c:19:

./include/private/gcconfig.h:307: error: parse error before '--' token make[1]: * [allchblk.lo] Error 1 make: * [all-recursive] Error 1

Change History (3)

comment:1 Changed 19 years ago by tony.bigbee@…

(In reply to comment #0)

Boehm's gc mailing list has some discussion about recently applied patches for i386. These changes are apparently only accessible via sourceforge cvs.

The first build error in comment #0 appears to be one of a series of malformed comments "--> some comment ... " throughout gccconfig.h . Those are easily fixed by surrounding them with /* */ .

The next build errors come in os_dep.c and the cvs sourceforge most current version may address. ?

comment:2 Changed 19 years ago by blb@…

Cc: waqar@… removed
Owner: changed from darwinports-bugs@… to waqar@…

comment:3 Changed 18 years ago by markd@…

Cc: markd@… added
Resolution: worksforme
Status: newclosed

The current version builds fine on Intel /w OS X 10.4.8 / Xcode 2.4/ Apple's gcc 4.01.

Note: See TracTickets for help on using tickets.