Re: [lfs-support] GCC-4.7.1-Pass 2 MPC configure fails

2012-08-12 Thread Whitequill Riclo
On Thu, Aug 9, 2012 at 4:38 PM, Bruce Dubbs bruce.du...@gmail.com wrote:

 Whitequill Riclo wrote:

  I've been looking for this for a very long time, I have this problem too!
  and I've had it for months, and months... I can't figure it out.

 Which problem?  We need your specific details in order to help.  Also
 the output from the Host System Requirements script is often the right
 place to start.

-- Bruce

I'm trying to cross compile... well its not even gotten that far.
it just won't find mpfr, though I've done everything I can think of.

http://pastebin.com/hsgiNcvB
and please don't criticize what I'm doing. I've gotten a lot of that.


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

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


Re: [lfs-support] GCC-4.7.1-Pass 2 MPC configure fails

2012-08-12 Thread Whitequill Riclo
On Sun, Aug 12, 2012 at 3:11 AM, Whitequill Riclo
whitequill...@gmail.comwrote:

 On Thu, Aug 9, 2012 at 4:38 PM, Bruce Dubbs bruce.du...@gmail.com wrote:

 Whitequill Riclo wrote:

  I've been looking for this for a very long time, I have this problem
 too!
  and I've had it for months, and months... I can't figure it out.

 Which problem?  We need your specific details in order to help.  Also
 the output from the Host System Requirements script is often the right
 place to start.

-- Bruce

 I'm trying to cross compile... well its not even gotten that far.
 it just won't find mpfr, though I've done everything I can think of.

 http://pastebin.com/hsgiNcvB
 and please don't criticize what I'm doing. I've gotten a lot of that.


my initial command is:
$LFS_TGT= x86_64-w64-mingw32-gcc
 CC=$LFS_TGT -B/tools/lib/ AR=/w-environment/bin/$LFS_TGT-ar
RANLIB=/w-envronment/bin/$LFS_TGT-ranlib
..source/gcc/configure --prefix=/w-environment/
--with-local-prefix=/w-environment/ --enable-shared
--enable-languages=c,c++ --disable-libstdcxx-pch --disable-multilib
--disable-libgomp --without-ppl --without-cloog --build=$MACHTYPE
--host=$LFS_TGT --with-mpfr-include=/mnt/Share/mpfr-3.0.1
--disable-bootstrap --disable-nls




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



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


Re: [lfs-support] GCC-4.7.1-Pass 2 MPC configure fails

2012-08-12 Thread Whitequill Riclo
On Sun, Aug 12, 2012 at 3:27 AM, Whitequill Riclo
whitequill...@gmail.comwrote:

 On Sun, Aug 12, 2012 at 3:11 AM, Whitequill Riclo whitequill...@gmail.com
  wrote:

 On Thu, Aug 9, 2012 at 4:38 PM, Bruce Dubbs bruce.du...@gmail.comwrote:

 Whitequill Riclo wrote:

  I've been looking for this for a very long time, I have this problem
 too!
  and I've had it for months, and months... I can't figure it out.

 Which problem?  We need your specific details in order to help.  Also
 the output from the Host System Requirements script is often the right
 place to start.

-- Bruce

 I'm trying to cross compile... well its not even gotten that far.
 it just won't find mpfr, though I've done everything I can think of.

  http://pastebin.com/hsgiNcvB
 and please don't criticize what I'm doing. I've gotten a lot of that.


 my initial command is:
 $LFS_TGT= x86_64-w64-mingw32-gcc
  CC=$LFS_TGT -B/tools/lib/ AR=/w-environment/bin/$LFS_TGT-ar
 RANLIB=/w-envronment/bin/$LFS_TGT-ranlib
 ..source/gcc/configure --prefix=/w-environment/
 --with-local-prefix=/w-environment/ --enable-shared
 --enable-languages=c,c++ --disable-libstdcxx-pch --disable-multilib
 --disable-libgomp --without-ppl --without-cloog --build=$MACHTYPE
 --host=$LFS_TGT --with-mpfr-include=/mnt/Share/mpfr-3.0.1
 --disable-bootstrap --disable-nls


gcc version 4.7.0 20110505 (experimental)




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




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


[lfs-support] installing packages from chapter 6.7 onwards

2012-08-12 Thread Moe Derballa

Hi guys just a quick question. When installing API headers in 6.7 and all 
packages from there on, which user login is best to use. Root on the host 
system or lfs user?? (or something else).


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


Re: [lfs-support] GCC-4.7.1-Pass 2 MPC configure fails

2012-08-12 Thread William Harrington

On Aug 12, 2012, at 03:01 AM, Whitequill Riclo wrote:

 http://pastebin.com/hsgiNcvB
 and please don't criticize what I'm doing. I've gotten a lot of that.

 my initial command is:
 $LFS_TGT= x86_64-w64-mingw32-gcc
  CC=$LFS_TGT -B/tools/lib/ AR=/w-environment/bin/$LFS_TGT-ar  
 RANLIB=/w-envronment/bin/$LFS_TGT-ranlib
 ..source/gcc/configure --prefix=/w-environment/ --with-local- 
 prefix=/w-environment/ --enable-shared --enable-languages=c,c++ -- 
 disable-libstdcxx-pch --disable-multilib --disable-libgomp -- 
 without-ppl --without-cloog --build=$MACHTYPE --host=$LFS_TGT -- 
 with-mpfr-include=/mnt/Share/mpfr-3.0.1 --disable-bootstrap -- 
 disable-nls

 gcc version 4.7.0 20110505 (experimental)

Hello,

Not sure where you have been getting your instructions from, but  
these commands don't look like what we have in the book, and you are  
building for an unsupported target for LFS. I say the easy way if you  
want to do it is to use:

https://github.com/rubenvb/MinGW-w64-build-scripts/

 From this mail:

Which was replied to you at mingw-w64-pub...@lists.sourceforge.net

Maybe contact Ruben Van Boxem

Sincerely,

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


Re: [lfs-support] installing packages from chapter 6.7 onwards

2012-08-12 Thread Bruce Dubbs
Moe Derballa wrote:

 Hi guys just a quick question. When installing API headers in 6.7 and
 all packages from there on, which user login is best to use. Root on
 the host system or lfs user?? (or something else).

Everything in Chapter 6 and later needs to be done as root.

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


Re: [lfs-support] GCC-4.7.1-Pass 2 MPC configure fails

2012-08-12 Thread Bruce Dubbs
Whitequill Riclo wrote:
 On Thu, Aug 9, 2012 at 4:38 PM, Bruce Dubbs bruce.du...@gmail.com wrote:

 Whitequill Riclo wrote:

 I've been looking for this for a very long time, I have this problem too!
 and I've had it for months, and months... I can't figure it out.

 Which problem?  We need your specific details in order to help.  Also
 the output from the Host System Requirements script is often the right
 place to start.

 I'm trying to cross compile... well its not even gotten that far.
 it just won't find mpfr, though I've done everything I can think of.

 http://pastebin.com/hsgiNcvB
 and please don't criticize what I'm doing. I've gotten a lot of that.

We won't criticize.  It's your system.  However, LFS is not designed to 
run with cygwin.  I would be very suprised if our instructions worked in 
that environment.

   -- Bruce

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


Re: [lfs-support] GCC-4.6.2 on 32 bit Mint13 mpfr error

2012-08-12 Thread Richard Melville
Just went through this step in linux mint 32bit in vmware and found
 no issues.


That's because it's an intermittent bug.  I've just had the same problem
using Linux Mint Cinnamon 64 bit.  Sometimes the error message appears and
sometimes it doesn't.  If you look back through the posts in the mailing
list you will see that a number of people have experienced this bug
irrespective of host used.

Richard

Explain the exact commands used at the command line and
 any environment variables you may have changed.

 Sincerely,

 William Harrington



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


[lfs-support] Google Chrome disappears after running script to remove $LFS/dev/shm symlink

2012-08-12 Thread Richard Melville
Can anybody tell me why the above happens?  I'm using Chrome on the host to
follow the book.  Chrome won't restart and I'm now using Firefox.  I
noticed that the symlink was also removed from the host /dev directory;
should that be so?  I'm guessing that's why Chrome halted.  I thought that
the script would just remove the $LFS/dev symlink.

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


Re: [lfs-support] Google Chrome disappears after running script to remove $LFS/dev/shm symlink

2012-08-12 Thread Bruce Dubbs
Richard Melville wrote:
 Can anybody tell me why the above happens?  I'm using Chrome on the host to
 follow the book.  Chrome won't restart and I'm now using Firefox.  I
 noticed that the symlink was also removed from the host /dev directory;

If LFS is not defined in the environment you used, then you removed 
/dev/shm.

   -- Bruce

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


Re: [lfs-support] Help with GCC Compile Pass 1 errors

2012-08-12 Thread Keiran
On 12/08/12 21:16, Keiran wrote:
 Hello, I'm not sure if this is the correct place to mail with this, if
 not could you please point me in the right direction?

 When trying to compile GCC at Chapter 5.5, I get this error, and no
 amount of Googling has been able to solve it.

 configure: error: in `/mnt/lfs/sources/gcc-build/lto-plugin':
 configure: error: C compiler cannot create executables

 Is this common? Is there an easy way to fix this?

 Thank you
 Keiran


I've already searched in the FAQ etc., I couldn't find my problem, I 
don't know if that's just me not looking hard enough or what

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


Re: [lfs-support] Help with GCC Compile Pass 1 errors

2012-08-12 Thread Bruce Dubbs
Keiran wrote:
 Hello, I'm not sure if this is the correct place to mail with this

Yes, this is the right list.

 When trying to compile GCC at Chapter 5.5, I get this error, and no
 amount of Googling has been able to solve it.

 configure: error: in `/mnt/lfs/sources/gcc-build/lto-plugin':
 configure: error: C compiler cannot create executables

 Is this common? Is there an easy way to fix this?

That tells me that gcc is not installed or binutils wasn't installed 
correctly.  What is the output of the script in Section iii - Host 
System Requirements?


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


Re: [lfs-support] Help with GCC Compile Pass 1 errors

2012-08-12 Thread Keiran
On 12/08/12 21:22, Bruce Dubbs wrote:
 Keiran wrote:
 Hello, I'm not sure if this is the correct place to mail with this
 Yes, this is the right list.

 When trying to compile GCC at Chapter 5.5, I get this error, and no
 amount of Googling has been able to solve it.

 configure: error: in `/mnt/lfs/sources/gcc-build/lto-plugin':
 configure: error: C compiler cannot create executables

 Is this common? Is there an easy way to fix this?
 That tells me that gcc is not installed or binutils wasn't installed
 correctly.  What is the output of the script in Section iii - Host
 System Requirements?


 -- Bruce
bash, version 4.2.24(1)-release
Binutils: (GNU Binutils for Ubuntu) 2.22
bison (GNU Bison) 2.5
bzip2,  Version 1.0.6, 6-Sept-2010.
Coreutils:  8.13
diff (GNU diffutils) 3.2
find (GNU findutils) 4.4.2
GNU Awk 3.1.8
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
(Ubuntu EGLIBC 2.15-0ubuntu10) 2.15
grep (GNU grep) 2.10
gzip 1.4
Linux version 3.2.0-29-generic-pae (buildd@roseapple) (gcc version 4.6.3 
(Ubuntu/Linaro 4.6.3-1ubuntu5) ) #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012
m4 (GNU M4) 1.4.16
GNU Make 3.81
patch 2.6.1
Perl version='5.14.2';
GNU sed version 4.2.1
tar (GNU tar) 1.26
Texinfo: makeinfo (GNU texinfo) 4.13
xz (XZ Utils) 5.1.0alpha
gcc compilation OK
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Help with GCC Compile Pass 1 errors

2012-08-12 Thread William Harrington

On Aug 12, 2012, at 15:16 PM, Keiran wrote:

 Hello, I'm not sure if this is the correct place to mail with this, if
 not could you please point me in the right direction?

 When trying to compile GCC at Chapter 5.5, I get this error, and no
 amount of Googling has been able to solve it.

 configure: error: in `/mnt/lfs/sources/gcc-build/lto-plugin':
 configure: error: C compiler cannot create executables

What is the contents of your /mnt/lfs/sources/gcc-build/lto-plugin/ 
config.log ?

Sincerely,

William Harrington

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


Re: [lfs-support] GCC-4.6.2 on 32 bit Mint13 mpfr error

2012-08-12 Thread William Harrington

On Aug 12, 2012, at 14:27 PM, Richard Melville wrote:



 Just went through this step in linux mint 32bit in vmware and found
 no issues.

 That's because it's an intermittent bug.  I've just had the same  
 problem using Linux Mint Cinnamon 64 bit.  Sometimes the error  
 message appears and sometimes it doesn't.  If you look back through  
 the posts in the mailing list you will see that a number of people  
 have experienced this bug irrespective of host used.

 Richard

Hello Richard,

If the person does make again, does the system continue to build?

If so, what is their MAKEFLAGS setting or are they using make -j 2 or  
4 or 6 or 8?

If not, do they have to remove the gcc build and gcc source  
directories, then reextract gcc, then extract gmp, mpfr, mpc in the  
gcc source tree then create gcc-build then reconfigure? And then does  
that make it work?

Sincerely,

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


Re: [lfs-support] Help with GCC Compile Pass 1 errors

2012-08-12 Thread Keiran
On 12/08/12 21:34, William Harrington wrote:
 On Aug 12, 2012, at 15:16 PM, Keiran wrote:

 Hello, I'm not sure if this is the correct place to mail with this, if
 not could you please point me in the right direction?

 When trying to compile GCC at Chapter 5.5, I get this error, and no
 amount of Googling has been able to solve it.

 configure: error: in `/mnt/lfs/sources/gcc-build/lto-plugin':
 configure: error: C compiler cannot create executables
 What is the contents of your /mnt/lfs/sources/gcc-build/lto-plugin/
 config.log ?

 Sincerely,

 William Harrington

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by LTO plugin for ld configure 0.1, which was
generated by GNU Autoconf 2.64.  Invocation command line was

   $ /mnt/lfs/sources/gcc-4.6.2/lto-plugin/configure 
--cache-file=./config.cache --prefix=/tools --disable-nls 
--disable-shared --disable-multilib --disable-decimal-float 
--disable-threads --disable-libmudflap --disable-libssp 
--disable-libgomp --disable-libquadmath --disable-target-libiberty 
--disable-target-zlib --without-ppl --without-cloog 
--with-mpfr-include=/mnt/lfs/sources/gcc-build/../gcc-4.6.2/mpfr/src 
--with-mpfr-lib=/mnt/lfs/sources/gcc-build/mpfr/src/.libs 
--enable-languages=c,lto --program-transform-name=s,y,y, 
--disable-option-checking --build=i686-pc-linux-gnu 
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu 
--srcdir=../../gcc-4.6.2/lto-plugin --with-build-libsubdir=. --enable-shared

## - ##
## Platform. ##
## - ##

hostname = ubuntu
uname -m = i686
uname -r = 3.2.0-29-generic-pae
uname -s = Linux
uname -v = #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin


## --- ##
## Core tests. ##
## --- ##

configure:2134: creating cache ./config.cache
configure:2237: checking build system type
configure:2251: result: i686-pc-linux-gnu
configure:2271: checking host system type
configure:2284: result: i686-pc-linux-gnu
configure:2304: checking target system type
configure:2317: result: i686-pc-linux-gnu
configure:2405: checking for a BSD-compatible install
configure:2473: result: /usr/bin/install -c
configure:2484: checking whether build environment is sane
configure:2534: result: yes
configure:2675: checking for a thread-safe mkdir -p
configure:2714: result: /bin/mkdir -p
configure:2727: checking for gawk
configure:2754: result: gawk
configure:2765: checking whether make sets $(MAKE)
configure:2787: result: yes
configure:2868: checking whether to enable maintainer-specific portions 
of Makefiles
configure:2877: result: no
configure:2898: checking for i686-pc-linux-gnu-gcc
configure:2925: result:  /mnt/lfs/sources/gcc-build/./prev-gcc/xgcc 
-B/mnt/lfs/sources/gcc-build/./prev-gcc/ -B/tools/i686-pc-linux-gnu/bin/ 
-B/tools/i686-pc-linux-gnu/bin/ -B/tools/i686-pc-linux-gnu/lib/ -isystem 
/tools/i686-pc-linux-gnu/include -isystem 
/tools/i686-pc-linux-gnu/sys-include
configure:3194: checking for C compiler version
configure:3203:  /mnt/lfs/sources/gcc-build/./prev-gcc/xgcc 
-B/mnt/lfs/sources/gcc-build/./prev-gcc/ -B/tools/i686-pc-linux-gnu/bin/ 
-B/tools/i686-pc-linux-gnu/bin/ -B/tools/i686-pc-linux-gnu/lib/ -isystem 
/tools/i686-pc-linux-gnu/include -isystem 
/tools/i686-pc-linux-gnu/sys-include--version 5
xgcc (GCC) 4.6.2
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3214: $? = 0
configure:3203:  /mnt/lfs/sources/gcc-build/./prev-gcc/xgcc 
-B/mnt/lfs/sources/gcc-build/./prev-gcc/ -B/tools/i686-pc-linux-gnu/bin/ 
-B/tools/i686-pc-linux-gnu/bin/ -B/tools/i686-pc-linux-gnu/lib/ -isystem 
/tools/i686-pc-linux-gnu/include -isystem 
/tools/i686-pc-linux-gnu/sys-include-v 5
Reading specs from /mnt/lfs/sources/gcc-build/./prev-gcc/specs
COLLECT_GCC=/mnt/lfs/sources/gcc-build/./prev-gcc/xgcc
COLLECT_LTO_WRAPPER=/mnt/lfs/sources/gcc-build/./prev-gcc/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.6.2/configure --target= --prefix=/tools 
--disable-nls --disable-shared --disable-multilib 
--disable-decimal-float --disable-threads --disable-libmudflap 
--disable-libssp --disable-libgomp --disable-libquadmath 
--disable-target-libiberty --disable-target-zlib --enable-languages=c 
--without-ppl --without-cloog 
--with-mpfr-include=/mnt/lfs/sources/gcc-build/../gcc-4.6.2/mpfr/src 
--with-mpfr-lib=/mnt/lfs/sources/gcc-build/mpfr/src/.libs
Thread model: single
gcc version 4.6.2 (GCC)
configure:3214: $? = 0

Re: [lfs-support] Help with GCC Compile Pass 1 errors

2012-08-12 Thread Bruce Dubbs
Keiran wrote:

 That tells me that gcc is not installed or binutils wasn't installed
 correctly.  What is the output of the script in Section iii - Host
 System Requirements?

 bash, version 4.2.24(1)-release
 Binutils: (GNU Binutils for Ubuntu) 2.22
 bison (GNU Bison) 2.5
 bzip2,  Version 1.0.6, 6-Sept-2010.
 Coreutils:  8.13
 diff (GNU diffutils) 3.2
 find (GNU findutils) 4.4.2
 GNU Awk 3.1.8
 gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
 (Ubuntu EGLIBC 2.15-0ubuntu10) 2.15
 grep (GNU grep) 2.10
 gzip 1.4
 Linux version 3.2.0-29-generic-pae (buildd@roseapple) (gcc version 4.6.3
 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012
 m4 (GNU M4) 1.4.16
 GNU Make 3.81
 patch 2.6.1
 Perl version='5.14.2';
 GNU sed version 4.2.1
 tar (GNU tar) 1.26
 Texinfo: makeinfo (GNU texinfo) 4.13
 xz (XZ Utils) 5.1.0alpha
 gcc compilation OK

OK gcc is installed, but you don't list the symlinks you have:

/bin/sh - /bin/bash
/usr/bin/yacc - /usr/bin/yacc
/usr/bin/awk - /usr/bin/gawk

Make sure the environment variable LFS is correct and that the target 
partition is mounted correctly.  Also check that $LFS/tools exists and 
the symlink is there in /.

I suggest redoing binutils and then follow the instructions for gcc 
exactly as written.

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


Re: [lfs-support] GCC-4.6.2 on 32 bit Mint13 mpfr error

2012-08-12 Thread Keiran
On 12/08/12 21:36, William Harrington wrote:
 On Aug 12, 2012, at 14:27 PM, Richard Melville wrote:


 Just went through this step in linux mint 32bit in vmware and found
 no issues.

 That's because it's an intermittent bug.  I've just had the same
 problem using Linux Mint Cinnamon 64 bit.  Sometimes the error
 message appears and sometimes it doesn't.  If you look back through
 the posts in the mailing list you will see that a number of people
 have experienced this bug irrespective of host used.

 Richard
 Hello Richard,

 If the person does make again, does the system continue to build?

 If so, what is their MAKEFLAGS setting or are they using make -j 2 or
 4 or 6 or 8?

 If not, do they have to remove the gcc build and gcc source
 directories, then reextract gcc, then extract gmp, mpfr, mpc in the
 gcc source tree then create gcc-build then reconfigure? And then does
 that make it work?

 Sincerely,

 William Harrington
My MAKEFLAGS is set to -j 2 and I'm running a quad core processor.

I have tried removing the gcc-4.6.2 directory and the gcc-build 
directory, reextracted etc. multiple times to no avail.

Thank you,

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


Re: [lfs-support] Help with GCC Compile Pass 1 errors

2012-08-12 Thread Keiran
On 12/08/12 21:39, Bruce Dubbs wrote:
 Keiran wrote:

 That tells me that gcc is not installed or binutils wasn't installed
 correctly.  What is the output of the script in Section iii - Host
 System Requirements?
 bash, version 4.2.24(1)-release
 Binutils: (GNU Binutils for Ubuntu) 2.22
 bison (GNU Bison) 2.5
 bzip2,  Version 1.0.6, 6-Sept-2010.
 Coreutils:  8.13
 diff (GNU diffutils) 3.2
 find (GNU findutils) 4.4.2
 GNU Awk 3.1.8
 gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
 (Ubuntu EGLIBC 2.15-0ubuntu10) 2.15
 grep (GNU grep) 2.10
 gzip 1.4
 Linux version 3.2.0-29-generic-pae (buildd@roseapple) (gcc version 4.6.3
 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012
 m4 (GNU M4) 1.4.16
 GNU Make 3.81
 patch 2.6.1
 Perl version='5.14.2';
 GNU sed version 4.2.1
 tar (GNU tar) 1.26
 Texinfo: makeinfo (GNU texinfo) 4.13
 xz (XZ Utils) 5.1.0alpha
 gcc compilation OK
 OK gcc is installed, but you don't list the symlinks you have:

 /bin/sh - /bin/bash
 /usr/bin/yacc - /usr/bin/yacc
 /usr/bin/awk - /usr/bin/gawk

 Make sure the environment variable LFS is correct and that the target
 partition is mounted correctly.  Also check that $LFS/tools exists and
 the symlink is there in /.

 I suggest redoing binutils and then follow the instructions for gcc
 exactly as written.

 -- Bruce
I removed the said symlinks from the email, I wasn't sure they'd be 
necessary to be there.

Already checked that $LFS is going to the correct place, /tools and the 
symlink for that too.

I have already tried redoing binutils, I formatted the partition earlier 
on today thinking that I may have mistyped something and started from 
scratch, same issue, had the problem then, even tried building on a 
different host to no avail.

Thank you

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


Re: [lfs-support] Help with GCC Compile Pass 1 errors

2012-08-12 Thread William Harrington

On Aug 12, 2012, at 15:37 PM, Keiran wrote:

 --build=i686-pc-linux-gnu
 --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu


What happened to your LFS_TGT variable? Are you using the lfs user?  
Make sure you are the lfs user and your environment is set up right.  
--target should not be your host target. --target should be i686-lfs- 
linux-gnu.

Sincerely,

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


Re: [lfs-support] Help with GCC Compile Pass 1 errors

2012-08-12 Thread Keiran
On 12/08/12 22:14, William Harrington wrote:
 On Aug 12, 2012, at 15:37 PM, Keiran wrote:

 --build=i686-pc-linux-gnu
 --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu

 What happened to your LFS_TGT variable? Are you using the lfs user?
 Make sure you are the lfs user and your environment is set up right.
 --target should not be your host target. --target should be i686-lfs-
 linux-gnu.

 Sincerely,

 William Harrington
Ah! I didn't notice that, I ran into an issue which required me to be 
root, I guess I forgot to change it back.

Thank you

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


[lfs-support] live cd

2012-08-12 Thread Robert Cox
ok ,
 there's a big red notice on the live cd page don't use on 7.0  I see 
the script and my distro seems to need many changes... could someone be kinnd 
enough to give me a hint as to what live cd might work?  thanks in advance
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] live cd

2012-08-12 Thread Tiago Barros
I built LFS 7.0 using the Gentoo Live DVD (version 12, if I remember well).
No problems.

-- 
智亞護
計算機工學之學生
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] live cd

2012-08-12 Thread Robert Cox


thanks



 From: Tiago Barros tiago.e...@gmail.com
To: LFS Support List lfs-support@linuxfromscratch.org 
Sent: Sunday, August 12, 2012 7:06 PM
Subject: Re: [lfs-support] live cd
 

I built LFS 7.0 using the Gentoo Live DVD (version 12, if I remember well). No 
problems.

-- 
智亞護
計算機工學之學生

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


Re: [lfs-support] live cd

2012-08-12 Thread William Harrington

On Aug 12, 2012, at 17:53 PM, Robert Cox wrote:

 ok ,
  there's a big red notice on the live cd page don't use on  
 7.0  I see the script and my distro seems to need many  
 changes... could someone be kinnd enough to give me a hint as to  
 what live cd might work?  thanks in advance

I updated the 6.3 livecd to meet or exceed host system requirements  
for LFS 7.x builds. Others have used it with good success. Give it a  
whirl.

http://cross-lfs.org/~kb0iic/livecdupd/

Sincerely,

William Harrington

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


Re: [lfs-support] Help with GCC Compile Pass 1 errors

2012-08-12 Thread Bruce Dubbs
William Harrington wrote:

 On Aug 12, 2012, at 15:37 PM, Keiran wrote:

 --build=i686-pc-linux-gnu
 --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu


 What happened to your LFS_TGT variable? Are you using the lfs user?
 Make sure you are the lfs user and your environment is set up right.
 --target should not be your host target. --target should be i686-lfs-
 linux-gnu.

Good catch William!

   -- Bruce

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