From owner-freebsd-questions@FreeBSD.ORG Mon May 31 17:11:44 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDAC6106564A for ; Mon, 31 May 2010 17:11:44 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id 59DE98FC17 for ; Mon, 31 May 2010 17:11:43 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id o4VHBfNb067694; Mon, 31 May 2010 19:11:42 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 9BFB4BA9D; Mon, 31 May 2010 19:11:41 +0200 (CEST) Date: Mon, 31 May 2010 19:11:41 +0200 From: Roland Smith To: Eitan Adler Message-ID: <20100531171141.GA12623@slackbox.erewhon.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: questions@freebsd.org Subject: Re: multimedia/ffmpeg fails with internal compiler error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 17:11:44 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 05:16:50PM +0300, Eitan Adler wrote: > Is this a > a) PEBKAC Maybe. I don't know how many ports have actually been tested with gcc 4.6. = I'm guessing the ports build cluster uses the base system compiler or the requi= red version. > b) freeBSD ports error Don't think so. It works fine here. > c) ffmpeg problem > d) compiler problem (as the error seems to be saying) Could be. I recompiled it with gcc-4.4.5.20100518 without problems. So it could be a bug specific to gcc 4.6. e) hardware error. Sometimes these errors are triggered by e.g. bad RAM. > gcc46 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE > -I. -I"/dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2" -pipe -mssse3 > -mtune=3Dnative -O3 -ffast-math -fno-finite-math-only > -fomit-frame-pointer -Wl,-rpath=3D/usr/local/lib/gcc46 > -fno-strict-aliasing -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=3D200112 > -I/usr/local/include/vorbis -I/usr/local/include -std=3Dc99 > -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch > -Wdisabled-optimization -Wpointer-arith -Wredundant-decls > -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef > -O3 -fno-math-errno -fno-signed-zeros -c -o libavutil/crc.o > libavutil/crc.c > libavutil/crc.c: In function 'av_crc_init': > libavutil/crc.c:58:5: internal compiler error: in predicate_bbs, at > tree-if-conv.c:555 > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > gmake: *** [libavutil/crc.o] Error 1 > gmake: *** Waiting for unfinished jobs.... > *** Error code 1 > gcc46 > # make -V CFLAGS > -pipe -mssse3 -mtune=3Dnative -O3 -ffast-math -fno-finite-math-only Does removing these cflags make any difference? Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwD7c0ACgkQEnfvsMMhpyXU+ACfag0zmi/BnVGYUW9svAi5Odkw fi0AoJNWQNrskVuCxz+Xysw6U9/1j6Bg =lmhH -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2--