On 09/03/2012 11:54 PM, Bruce Dubbs wrote:
> Walter Webb wrote:
>> I just joined this list and can't respond properly.
>> I had a different file not found than Israel Silberg.
>> I unset MAKEFLAGS and retried, and it worked.
> Good point.  Using -j > 1 can cause problems in some packages.  It can
> cause race conditions that sometimes cause a failure.
>
> I suppose we can put a warning about this in the gcc sections, but we'd
> need it in three places.
>
>     -- Bruce

On the other hand, I have compiled LFS-6.8 to LFS-7.1 ( will do 7.2 soon 
) with the following without error

MAKEFLAGS="-j4"
CARCH=x86_64
case $CARCH in
     i686)
         CFLAGS="-march=i686 -mtune=generic -O2 -pipe"
         CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe"
     ;;
     x86_64)
         CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
         CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
     ;;
esac
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
export CARCH MAKEFLAGS CFLAGS CXXFLAGS LDFLAGS

I did have some trouble compiling gcc-4.6.[1,2] when using the host 
installed gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
I needed to patch the build for Chapter 5 pass-1 only and it was good 
after that.


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

Reply via email to