On Sat, 12 Dec 2015 22:14:36 -0600
William Harrington <[email protected]> wrote:

> On Mon, 23 Nov 2015 22:40:23 +0000
> <[email protected]> wrote:
> 
> > Hello list-
> > 
> > 
> > 
> > 
> > on certain systems (more-or-less current MiniBIAN in my case, seems to 
> > apply to Debian systems too) the pass 1 of building gcc-5.2.0 breaks with 
> > the following error message:
> > 
> > 
> > 
> > 
> > gcc-5.2.0/gcc/expr.c:6529:1: internal compiler error: output_operand: 
> > invalid shift operand
> 
> Greetings,
> 
> A bit late on the reply but I had some testing to do. Which version of GCC 
> 4.6 did your host use? I built gcc 5.2.0 just fine with a vanilla GCC 4.6.4 
> build which has all of the changes from a bad GCC 4.6.0. GCC 4.6 issues are 
> from 4.6.0 to 4.6.3. GCC 4.6.4 is fine.

A follow up: I finally built gcc 4.6.0 from a current build but had to patch 
the heck out of it, but a vanilla 4.6.0 built LFS 7.8 and CLFS git multilib 
x86_64 fine.

So my guess is the distro introduces patches or something else into the vanilla 
source code to cause issues, but of course since your target was ARMv7 or such, 
could be something in that.

We shouldn't have many people using distros with such an old GCC version, but 
if they do, maybe they will find this post in the archive.

Since the current LFS development book has GCC 4.7 in the host requirements, 
probably won't surface, and I wanted to provide my test results with the 
community.

For i386 and amd64 it all seems fine to use GCC 4.6.

Sincerely,

William Harrington
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to