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 required 
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=64 -D_LARGEFILE_SOURCE
> -I. -I"/dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2" -pipe -mssse3
> -mtune=native -O3 -ffast-math -fno-finite-math-only
> -fomit-frame-pointer -Wl,-rpath=/usr/local/lib/gcc46
> -fno-strict-aliasing -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
> -I/usr/local/include/vorbis -I/usr/local/include -std=c99
> -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=native -O3 -ffast-math -fno-finite-math-only

Does removing these cflags make any difference?

Roland
-- 
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)

Attachment: pgpzg9Y6KzOB0.pgp
Description: PGP signature

Reply via email to