Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2010 19:11:41 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Eitan Adler <lists@eitanadler.com>
Cc:        questions@freebsd.org
Subject:   Re: multimedia/ffmpeg fails with internal compiler error
Message-ID:  <20100531171141.GA12623@slackbox.erewhon.net>
In-Reply-To: <AANLkTimrqWqey8aDCJ7SM3Y05rlH5vc0hDxMvk8WWw_I@mail.gmail.com>
References:  <AANLkTimrqWqey8aDCJ7SM3Y05rlH5vc0hDxMvk8WWw_I@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <http://gcc.gnu.org/bugs.html>; for instructions.
> gmake: *** [libavutil/crc.o] Error 1
> gmake: *** Waiting for unfinished jobs....
> *** Error code 1
<snip>
> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100531171141.GA12623>