building multimedia/moonlight fails on 8-stable of amd64 and i386. Fix: I have no idea. I tried using gcc34, gcc44, gcc45, but failed. with gcc34, configure stops. with gcc44 and gcc45, the same error occured: /bin/sh ../../libtool --quiet --tag=CC --mode=link gcc45 -I../.. -I../../libgc/include -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -mno-tls-direct-seg-refs -export-dynamic -Wl,-version-script=./ldscript.mono -L/usr/local/lib -pthread -o mono main.o libmono-static.la -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0 -lm -pthread -lm /usr/local/bin/ld: mono: local symbol `__progname' in /usr/lib/crt1.o is referenced by DSO /usr/local/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status gmake[4]: *** [mono] Error 1 gmake[4]: Leaving directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1/mono/mini' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1/mono/mini' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1/mono' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/multimedia/moonlight. *** Error code 1 Stop in /usr/ports/multimedia/moonlight. I have no extra CFLAGS. I compared my configure output with that of pointyhat, but I cannot find any difference. How-To-Repeat: % cd /usr/ports/multimedia/moonlight % make ... gmake[3]: Leaving directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1/mono/metadata' Making all in arch gmake[3]: Entering directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1/mono/arch' gmake[4]: Entering directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1/mono/arch' gmake[4]: Nothing to be done for `all-am'. gmake[4]: Leaving directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1/mono/arch' gmake[3]: Leaving directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1/mono/arch' Making all in interpreter gmake[3]: Entering directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1/mono/interpreter' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1/mono/interpreter' Making all in mini gmake[3]: Entering directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1/mono/mini' if test -d ../../.git/svn; then svn_info="git log --no-color --first-parent -n1 --grep=git-svn-id: --pretty=format:%b | sed -n -e 's,git-svn-id: \(.*\)@\(.*\) .*,URL: \1 Revision: \2,p'"; fi; \ if test -d ./.svn; then svn_info='svn info'; fi; \ if test -n "$svn_info"; then \ (cd ../..; \ LANG=C; export LANG; \ branch=`eval $svn_info | sed -n -e '/URL/ s,.*source/\(.*\)/mono.*,/\1/mono,p'`; \ version=`eval $svn_info | sed -n -e '/Revision/ s/.*: //p'`; \ echo "#define FULL_VERSION \"$branch r$version\""; \ ); \ else \ echo "#define FULL_VERSION \"tarball\""; \ fi > version.h gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -DGC_FREEBSD_THREADS -DPLATFORM_BSD -I../.. -I../../libgc/include -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -mno-tls-direct-seg-refs -MT genmdesc-genmdesc.o -MD -MP -MF .deps/genmdesc-genmdesc.Tpo -c -o genmdesc-genmdesc.o `test -f 'genmdesc.c' || echo './'`genmdesc.c gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -DGC_FREEBSD_THREADS -DPLATFORM_BSD -I../.. -I../../libgc/include -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -mno-tls-direct-seg-refs -MT genmdesc-helpers.o -MD -MP -MF .deps/genmdesc-helpers.Tpo -c -o genmdesc-helpers.o `test -f 'helpers.c' || echo './'`helpers.c /bin/sh ../../libtool --quiet --tag=CC --mode=link gcc -I../.. -I../../libgc/include -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -mno-tls-direct-seg-refs -L/usr/local/lib -pthread -o genmdesc genmdesc-genmdesc.o genmdesc-helpers.o ../../mono/utils/libmonoutils.la ../../mono/metadata/opcodes.lo -lm -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0 -pthread -lm ./genmdesc cpu-amd64.h amd64_desc ./cpu-amd64.md gmake all-am gmake[4]: Entering directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1/mono/mini' /bin/sh ../../libtool --quiet --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -DGC_FREEBSD_THREADS -DPLATFORM_BSD -I../.. -I../../libgc/include -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD -MP -MF .deps/mini.Tpo -c -o mini.lo mini.c In file included from ../../mono/utils/gc_wrapper.h:43, from ../../mono/metadata/gc-internal.h:14, from mini.c:44: ../../libgc/include/gc_typed.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO' ../../libgc/include/gc_typed.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_malloc_explicitly_typed' ../../libgc/include/gc_typed.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_malloc_explicitly_typed_ignore_off_page' ../../libgc/include/gc_typed.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_calloc_explicitly_typed' In file included from ../../mono/utils/gc_wrapper.h:44, from ../../mono/metadata/gc-internal.h:14, from mini.c:44: ../../libgc/include/gc_mark.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO' ../../libgc/include/gc_mark.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_least_plausible_heap_addr' ../../libgc/include/gc_mark.h:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_greatest_plausible_heap_addr' ../../libgc/include/gc_mark.h:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO' ../../libgc/include/gc_mark.h:156: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO' ../../libgc/include/gc_mark.h:157: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO' ../../libgc/include/gc_mark.h:160: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO' ../../libgc/include/gc_mark.h:163: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO' ../../libgc/include/gc_mark.h:170: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO' ../../libgc/include/gc_mark.h:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO' ../../libgc/include/gc_mark.h:179: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO' ../../libgc/include/gc_mark.h:183: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO' ../../libgc/include/gc_mark.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GC_PROTO' gmake[4]: *** [mini.lo] Error 1 gmake[4]: Leaving directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1/mono/mini' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1/mono/mini' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1/mono' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/work/usr/ports/multimedia/moonlight/work/mono-2.6.1' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/multimedia/moonlight. *** Error code 1 Stop in /usr/ports/multimedia/moonlight.
Responsible Changed From-To: freebsd-ports-bugs->mono Over to maintainer (via the GNATS Auto Assign Tool)
nork 2010-09-05 15:40:59 UTC FreeBSD ports repository Modified files: multimedia/moonlight Makefile Added files: multimedia/moonlight/files patch-mono261-mono_mini_Makefile.in Log: Fix build error with devel/boehem-gc. PR: ports/148124 Reported by: Tsurutani Naoki turutani at scphys kyoto-u ac jp Tested by: Tsurutani Naoki Revision Changes Path 1.21 +0 -0 ports/multimedia/moonlight/Makefile 1.1 +11 -0 ports/multimedia/moonlight/files/patch-mono261-mono_mini_Makefile.in (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fixed, thanks!