Date: Fri, 4 Jan 2002 07:48:22 -0800 (PST) From: Mack <macklobell@hotmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/33538: esound-0.2.23 doesn't build with gcc 3.0.2 Message-ID: <200201041548.g04FmMb91455@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 33538 >Category: ports >Synopsis: esound-0.2.23 doesn't build with gcc 3.0.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 04 07:50:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Mack >Release: 4.4 >Organization: >Environment: FreeBSD killerqueen 4.4-RELEASE-p2 FreeBSD 4.4-RELEASE-p2 #0: Fri Jan 4 11:19:14 CET 2002 root@killerqueen:/usr/src/sys/compile/KERNEL441 i386 >Description: When i try to build the port esound with gcc 3.0.2 the make fails on esddsp.c. /bin/sh ./libtool --mode=compile gcc30 -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -DSYSCONFDIR="\"/usr/local/etc\"" -pipe -mpentiumpro -O3 -c esddsp.c rm -f .libs/esddsp.lo gcc30 -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -DSYSCONFDIR=\"/usr/local/etc\" -pipe -mpentiumpro -O3 -c esddsp.c -fPIC -DPIC -o .libs/esddsp.lo esddsp.c: In function `open': esddsp.c:183: `mode_t' is promoted to `int' when passed through `...' esddsp.c:183: (so you should pass `int' not `mode_t' to `va_arg') *** Error code 1 Stop in /usr/ports/audio/esound/work/esound-0.2.23. *** Error code 1 A build with 2.95.3 works: /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -DSYSCONFDIR="\"/usr/local/etc\"" -pipe -mpentiumpro -O3 -c esddsp.c rm -f .libs/esddsp.lo cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -DSYSCONFDIR=\"/usr/local/etc\" -pipe -mpentiumpro -O3 -c esddsp.c -fPIC -DPIC -o .libs/esddsp.lo cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -DSYSCONFDIR=\"/usr/local/etc\" -pipe -mpentiumpro -O3 -c esddsp.c -o esddsp.o >/dev/null 2>&1 mv -f .libs/esddsp.lo esddsp.lo /bin/sh ./libtool --mode=link cc -pipe -mpentiumpro -O3 -o libesddsp.la -rpath /usr/local/lib -version-info 2:0:0 esddsp.lo -lm rm -fr .libs/libesddsp.la .libs/libesddsp.* .libs/libesddsp.* cc -shared -Wl,--rpath -Wl,/usr/local/lib esddsp.lo -lm -Wl,-soname -Wl,libesddsp.so.2 -o .libs/libesddsp.so.2 (cd .libs && rm -f libesddsp.so && ln -s libesddsp.so.2 libesddsp.so) ar cru .libs/libesddsp.a esddsp.o ranlib .libs/libesddsp.a creating libesddsp.la (cd .libs && rm -f libesddsp.la && ln -s ../libesddsp.la libesddsp.la) >How-To-Repeat: Install gcc 3.0.2 from the ports and then: make USE_GCC30=yes >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201041548.g04FmMb91455>