Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2012 20:40:33 +0200
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        freebsd-multimedia@FreeBSD.org, Juergen Lock <nox@jelal.kn-bremen.de>
Subject:   Re: vlc fails to build on pre-SSE2 processor
Message-ID:  <20120913184033.GA56740@triton8.kn-bremen.de>
In-Reply-To: <5051AA36.9040304@gmail.com>
References:  <5050786D.30505@gmail.com> <201209122211.q8CMBiBe027101@triton8.kn-bremen.de> <5051AA36.9040304@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 13, 2012 at 12:41:10PM +0300, Volodymyr Kostyrko wrote:
> 13.09.2012 01:11, Juergen Lock wrote:
> >> Each time I try to build vlc it ends up with:
> >>
> > Just for kicks, can you try building with LANG=C ?
> 
>    CC     audio_output/mixer.lo
> audio_output/mixer.c: In function 'aout_ReplayGainSelect':
> audio_output/mixer.c:83:8: internal compiler error: Illegal instruction: 4
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html>; for instructions.
> gmake[4]: *** [audio_output/mixer.lo] Error 1
> gmake[4]: Leaving directory 
> `/tmp/ports/usr/ports/multimedia/vlc/work/vlc-2.0.3/src'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory 
> `/tmp/ports/usr/ports/multimedia/vlc/work/vlc-2.0.3/src'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory 
> `/tmp/ports/usr/ports/multimedia/vlc/work/vlc-2.0.3/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory 
> `/tmp/ports/usr/ports/multimedia/vlc/work/vlc-2.0.3'
> gmake: *** [all] Error 2
> *** [do-build] Error code 1
> 
> >   And if that's not it try a newer gcc version and if you're on
> > 9-stable or head try clang too.  (amd64 atm defaults to the base
> > gcc 4.2, i386 to gcc 4.6 so try 4.6 or 4.7 respectively.)
> 
> This one is:
> CPU: AMD Athlon(tm) XP 2500+ (1833.95-MHz 686-class CPU)
> Origin = "AuthenticAMD" Id = 0x6a0 Family = 6 Model = a Stepping = 0
> Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> AMD Features=0xc0400800<SYSCALL,MMX+,3DNow!+,3DNow!>
> 
> >   Good luck! :)
> 
> Yes, as you suggest switching to clang works like a charm.

Ok.  Now as 8.x doesn't have clang in base and 9.0 clang has been
reported to miscompile at least one file on amd64 it would be
interesting to know if gcc 4.7 works as well, so can you test that
too?  And also which FreeBSD version is this on and was this base
clang that worked?

 Thanx, :)
	Juergen



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