From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 30 12:50:23 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0067D16A4DE for ; Sun, 30 Jul 2006 12:50:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B5C743D5D for ; Sun, 30 Jul 2006 12:50:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6UCoI14024644 for ; Sun, 30 Jul 2006 12:50:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6UCoIUj024643; Sun, 30 Jul 2006 12:50:18 GMT (envelope-from gnats) Resent-Date: Sun, 30 Jul 2006 12:50:18 GMT Resent-Message-Id: <200607301250.k6UCoIUj024643@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, B Briggs Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD2D616A4DD for ; Sun, 30 Jul 2006 12:42:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96A2B43D45 for ; Sun, 30 Jul 2006 12:42:14 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k6UCgEda044943 for ; Sun, 30 Jul 2006 12:42:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k6UCgEV4044942; Sun, 30 Jul 2006 12:42:14 GMT (envelope-from nobody) Message-Id: <200607301242.k6UCgEV4044942@www.freebsd.org> Date: Sun, 30 Jul 2006 12:42:14 GMT From: B Briggs To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/101051: libxine 1.1.2 build failure X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jul 2006 12:50:23 -0000 >Number: 101051 >Category: ports >Synopsis: libxine 1.1.2 build failure >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 30 12:50:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: B Briggs >Release: 6.1R >Organization: >Environment: FreeBSD bbriggs.lotmgr.com 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Thu Jul 27 08:43:08 CDT 2006 root@bbriggs.lotmgr.com:/usr/obj/usr/src/sys/K61a i386 >Description: build fails on inline function. Relevant output when using ccache: ccache cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -DSIMPLE_IDCT -DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT -DUSE_FASTMEMCPY -DCONFIG_RISKY -DCONFIG_DECODERS -DXINE_MPEG_ENCODER -DCONFIG_ZLIB -DCONFIG_GPL -I../../../src/libffmpeg/libavutil -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -D_THREAD_SAFE -fno-strict-aliasing -mtune=i386 -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -ffast-math -fno-inline-functions -Wall -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -O -pipe -fno-force-addr -I/usr/local/include -I/usr/local/include/dvd read -I/usr/X11R6/include -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Wstrict-aliasing=2 -MT h263.lo -MD -MP -MF .deps/h263.Tpo -c h263.c -fPIC -DPIC -o .libs/h263.o h263.c: In function `mpeg4_decode_partition_a': h263.c:69: sorry, unimplemented: inlining failed in call to 'mpeg4_decode_dc': function body not available h263.c:3447: sorry, unimplemented: called from here h263.c: At top level: h263.c:73: warning: 'mpeg4_get_block_length' declared `static' but never defined gmake[5]: *** [h263.lo] Error 1 gmake[5]: Leaving directory `/usr/ports/multimedia/libxine/work/xine-lib-1.1.2/src/libffmpeg/libavcodec' gmake[4]: *** [all-recursive] Error 1 and cat config.log | grep inline .. | #define inline inline __attribute__ ((__always_inline__)) configure:51927: checking if ccache cc supports "-fno-inline-functions" flags configure:51952: ccache cc -c -fno-inline-functions -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -D_THREAD_SAFE conftest.c >&5 | #define inline inline __attribute__ ((__always_inline__)) configure:52284: result: no - assuming bugginess in -finline-functions However, when not using ccache, after make clean && make: cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -DSIMPLE_IDCT -DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT -DUSE_FASTMEMCPY -DCONFIG_RISKY -DCONFIG_DECODERS -DXINE_MPEG_ENCODER -DCONFIG_ZLIB -DCONFIG_GPL -I../../../src/libffmpeg/libavutil -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -D_THREAD_SAFE -fno-strict-aliasing -mtune=i386 -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -ffast-math -finline-functions -Wall -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -O -pipe -fno-force-addr -I/usr/local/include -I/usr/local/include/dvdread -I/us r/X11R6/include -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Wstrict-aliasing=2 -MT h263.lo -MD -MP -MF .deps/h263.Tpo -c h263.c -fPIC -DPIC -o .libs/h263.o h263.c: In function `mpeg4_decode_partition_a': h263.c:69: sorry, unimplemented: inlining failed in call to 'mpeg4_decode_dc': function body not available h263.c:3447: sorry, unimplemented: called from here h263.c: At top level: h263.c:73: warning: 'mpeg4_get_block_length' declared `static' but never defined gmake[5]: *** [h263.lo] Error 1 gmake[5]: Leaving directory `/usr/ports/multimedia/libxine/work/xine-lib-1.1.2/src/libffmpeg/libavcodec' and different output in config.log: | #define inline inline __attribute__ ((__always_inline__)) configure:51927: checking if cc supports "-fno-inline-functions" flags configure:51952: cc -c -fno-inline-functions -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -D_THREAD_SAFE conftest.c >&5 | #define inline inline __attribute__ ((__always_inline__)) ac_cv_always_inline=yes ac_cv_c___inline__='' ac_cv_c_inline=inline CFLAGS='-mtune=i386 -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -ffast-math -finline-functions -Wall -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE $(MULTIPASS_CFLAGS) -DENABLE_IPV6 -O -pipe -fno-force-addr -I/usr/local/include -I/usr/local/include/dvdread -I/usr/X11R6/include -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Wstrict-aliasing=2' Note -finline-functions in the second build and -fno-inline-functions in the first build. However the compile fails either way with the same error message. >How-To-Repeat: make clean && make >Fix: >Release-Note: >Audit-Trail: >Unformatted: