From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 13 18:41:41 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B201A10656B3 for ; Thu, 13 Sep 2012 18:41:41 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 695FB8FC19 for ; Thu, 13 Sep 2012 18:41:41 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 0C4611E00076; Thu, 13 Sep 2012 20:41:40 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q8DIeXjx056917; Thu, 13 Sep 2012 20:40:33 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q8DIeXCr056916; Thu, 13 Sep 2012 20:40:33 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Thu, 13 Sep 2012 20:40:33 +0200 To: Volodymyr Kostyrko Message-ID: <20120913184033.GA56740@triton8.kn-bremen.de> References: <5050786D.30505@gmail.com> <201209122211.q8CMBiBe027101@triton8.kn-bremen.de> <5051AA36.9040304@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5051AA36.9040304@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@FreeBSD.org, Juergen Lock Subject: Re: vlc fails to build on pre-SSE2 processor X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2012 18:41:41 -0000 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 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 > AMD Features=0xc0400800 > > > 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