LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 04-06-2013, 08:43 AM   #1
fl0
Member
 
Registered: May 2010
Location: Germany
Distribution: Slackware
Posts: 105

Rep: Reputation: 34
LFS 7.3 5.5 cross gcc segmentation fault


Hi,

i try to build LFS 7.3, Host OS is slackware64-current multilib.

i got the following make error, any ideas?

Code:
Checking multilib configuration for libgcc...
mkdir -p -- x86_64-lfs-linux-gnu/libgcc
Configuring in x86_64-lfs-linux-gnu/libgcc
configure: creating cache ./config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-lfs-linux-gnu
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /bin/ginstall -c
checking for gawk... gawk
checking for x86_64-lfs-linux-gnu-ar... /tools/x86_64-lfs-linux-gnu/bin/ar
checking for x86_64-lfs-linux-gnu-lipo... x86_64-lfs-linux-gnu-lipo
checking for x86_64-lfs-linux-gnu-nm... /mnt/lfs/sources/gcc-build/./gcc/nm
checking for x86_64-lfs-linux-gnu-ranlib... /tools/x86_64-lfs-linux-gnu/bin/ranlib
checking for x86_64-lfs-linux-gnu-strip... /tools/x86_64-lfs-linux-gnu/bin/strip
checking whether ln -s works... yes
checking for x86_64-lfs-linux-gnu-gcc... /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem /tools/x86_64-lfs-linux-gnu/sys-include   
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem /tools/x86_64-lfs-linux-gnu/sys-include    accepts -g... yes
checking for /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem /tools/x86_64-lfs-linux-gnu/sys-include    option to accept ISO C89... unsupported
checking how to run the C preprocessor... /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem /tools/x86_64-lfs-linux-gnu/sys-include    -E
checking size of double... 8
checking size of long double... 16
checking whether decimal floating point is supported... no
checking whether fixed-point is supported... no
checking whether to use setjmp/longjmp exceptions... no
checking if the linker (/mnt/lfs/sources/gcc-build/./gcc/collect-ld) is GNU ld... yes
checking for thread model used by GCC... single
checking whether assembler supports CFI directives... yes
checking for __attribute__((visibility("hidden")))... yes
checking whether the target assembler supports thread-local storage... yes
checking whether the thread-local storage support is from emutls... no
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: linking ../../../gcc-4.7.2/libgcc/enable-execute-stack-empty.c to enable-execute-stack.c
config.status: linking ../../../gcc-4.7.2/libgcc/unwind-generic.h to unwind.h
config.status: linking ../../../gcc-4.7.2/libgcc/config/i386/linux-unwind.h to md-unwind-support.h
config.status: linking ../../../gcc-4.7.2/libgcc/config/i386/sfp-machine.h to sfp-machine.h
config.status: linking ../../../gcc-4.7.2/libgcc/gthr-single.h to gthr-default.h
config.status: executing default commands
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libgcc'
# If this is the top-level multilib, build all the other
DEFINES='' HEADERS='../../../gcc-4.7.2/libgcc/config/i386/value-unwind.h' \
        ../../../gcc-4.7.2/libgcc/mkheader.sh > tmp-libgcc_tm.h
# multilibs.
/bin/sh ../../../gcc-4.7.2/libgcc/../move-if-change tmp-libgcc_tm.h libgcc_tm.h
dest=../.././gcc/include/tmp$$-unwind.h; \
cp unwind.h $dest; \
chmod a+r $dest; \
sh ../../../gcc-4.7.2/libgcc/../move-if-change $dest ../.././gcc/include/unwind.h
echo timestamp > libgcc_tm.stamp
/mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem /tools/x86_64-lfs-linux-gnu/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -fpic -I. -I. -I../.././gcc -I../../../gcc-4.7.2/libgcc -I../../../gcc-4.7.2/libgcc/. -I../../../gcc-4.7.2/libgcc/../gcc -I../../../gcc-4.7.2/libgcc/../include  -DHAVE_CC_TLS  -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c ../../../gcc-4.7.2/libgcc/libgcc2.c 
/mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem /tools/x86_64-lfs-linux-gnu/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -fpic -I. -I. -I../.././gcc -I../../../gcc-4.7.2/libgcc -I../../../gcc-4.7.2/libgcc/. -I../../../gcc-4.7.2/libgcc/../gcc -I../../../gcc-4.7.2/libgcc/../include  -DHAVE_CC_TLS  -DUSE_TLS -o _negdi2.o -MT _negdi2.o -MD -MP -MF _negdi2.dep -DL_negdi2 -c ../../../gcc-4.7.2/libgcc/libgcc2.c 
/mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem /tools/x86_64-lfs-linux-gnu/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -fpic -I. -I. -I../.././gcc -I../../../gcc-4.7.2/libgcc -I../../../gcc-4.7.2/libgcc/. -I../../../gcc-4.7.2/libgcc/../gcc -I../../../gcc-4.7.2/libgcc/../include  -DHAVE_CC_TLS  -DUSE_TLS -o _lshrdi3.o -MT _lshrdi3.o -MD -MP -MF _lshrdi3.dep -DL_lshrdi3 -c ../../../gcc-4.7.2/libgcc/libgcc2.c 
/mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem /tools/x86_64-lfs-linux-gnu/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -fpic -I. -I. -I../.././gcc -I../../../gcc-4.7.2/libgcc -I../../../gcc-4.7.2/libgcc/. -I../../../gcc-4.7.2/libgcc/../gcc -I../../../gcc-4.7.2/libgcc/../include  -DHAVE_CC_TLS  -DUSE_TLS -o _ashldi3.o -MT _ashldi3.o -MD -MP -MF _ashldi3.dep -DL_ashldi3 -c ../../../gcc-4.7.2/libgcc/libgcc2.c 
/mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem /tools/x86_64-lfs-linux-gnu/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -fpic -I. -I. -I../.././gcc -I../../../gcc-4.7.2/libgcc -I../../../gcc-4.7.2/libgcc/. -I../../../gcc-4.7.2/libgcc/../gcc -I../../../gcc-4.7.2/libgcc/../include  -DHAVE_CC_TLS  -DUSE_TLS -o _ashrdi3.o -MT _ashrdi3.o -MD -MP -MF _ashrdi3.dep -DL_ashrdi3 -c ../../../gcc-4.7.2/libgcc/libgcc2.c 
/mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem /tools/x86_64-lfs-linux-gnu/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -fpic -I. -I. -I../.././gcc -I../../../gcc-4.7.2/libgcc -I../../../gcc-4.7.2/libgcc/. -I../../../gcc-4.7.2/libgcc/../gcc -I../../../gcc-4.7.2/libgcc/../include  -DHAVE_CC_TLS  -DUSE_TLS -o _cmpdi2.o -MT _cmpdi2.o -MD -MP -MF _cmpdi2.dep -DL_cmpdi2 -c ../../../gcc-4.7.2/libgcc/libgcc2.c 
/mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem /tools/x86_64-lfs-linux-gnu/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -fpic -I. -I. -I../.././gcc -I../../../gcc-4.7.2/libgcc -I../../../gcc-4.7.2/libgcc/. -I../../../gcc-4.7.2/libgcc/../gcc -I../../../gcc-4.7.2/libgcc/../include  -DHAVE_CC_TLS  -DUSE_TLS -o _ucmpdi2.o -MT _ucmpdi2.o -MD -MP -MF _ucmpdi2.dep -DL_ucmpdi2 -c ../../../gcc-4.7.2/libgcc/libgcc2.c 
../../../gcc-4.7.2/libgcc/libgcc2.c: In function '__multi3':
../../../gcc-4.7.2/libgcc/libgcc2.c:559:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
/mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem /tools/x86_64-lfs-linux-gnu/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./gcc-4.7.2/gcc-4.7.2/libgcc/libgcc2.c 
make[2]: *** [_muldi3.o] Error 1
make[2]: *** Waiting for unfinished jobs....
../../../gcc-4.7.2/libgcc/libgcc2.c: In function '__ucmpti2':
../../../gcc-4.7.2/libgcc/libgcc2.c:1219:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [_ucmpdi2.o] Error 1
../../../gcc-4.7.2/libgcc/libgcc2.c: In function '__cmpti2':
../../../gcc-4.7.2/libgcc/libgcc2.c:1200:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [_cmpdi2.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2

Last edited by fl0; 04-06-2013 at 09:38 AM.
 
Old 04-06-2013, 12:53 PM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Read here Post by Druuna
http://www.linuxquestions.org/questi...8/#post4830973
 
Old 04-06-2013, 02:03 PM   #3
fl0
Member
 
Registered: May 2010
Location: Germany
Distribution: Slackware
Posts: 105

Original Poster
Rep: Reputation: 34
Hi,

hm yes i has set MAKEOPTS, and now i try without, removed build and gcc dir , but i got this error, not exactly the same but nearly
Code:
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: linking ../../../gcc-4.7.2/libgcc/enable-execute-stack-empty.c to enable-execute-stack.c
config.status: linking ../../../gcc-4.7.2/libgcc/unwind-generic.h to unwind.h
config.status: linking ../../../gcc-4.7.2/libgcc/config/i386/linux-unwind.h to md-unwind-support.h
config.status: linking ../../../gcc-4.7.2/libgcc/config/i386/sfp-machine.h to sfp-machine.h
config.status: linking ../../../gcc-4.7.2/libgcc/gthr-single.h to gthr-default.h
config.status: executing default commands
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libgcc'
# If this is the top-level multilib, build all the other
# multilibs.
DEFINES='' HEADERS='../../../gcc-4.7.2/libgcc/config/i386/value-unwind.h' \
        ../../../gcc-4.7.2/libgcc/mkheader.sh > tmp-libgcc_tm.h
/bin/sh ../../../gcc-4.7.2/libgcc/../move-if-change tmp-libgcc_tm.h libgcc_tm.h
echo timestamp > libgcc_tm.stamp
/mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ -B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include -isystem /tools/x86_64-lfs-linux-gnu/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -fpic -I. -I. -I../.././gcc -I../../../gcc-4.7.2/libgcc -I../../../gcc-4.7.2/libgcc/. -I../../../gcc-4.7.2/libgcc/../gcc -I../../../gcc-4.7.2/libgcc/../include  -DHAVE_CC_TLS  -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c ../../../gcc-4.7.2/libgcc/libgcc2.c 
../../../gcc-4.7.2/libgcc/libgcc2.c: In function '__multi3':
../../../gcc-4.7.2/libgcc/libgcc2.c:559:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [_muldi3.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2
here my version-check

Code:
bash version-check.sh 
bash, version 4.2.37(2)-release
/bin/sh -> /bin/bash
Binutils: (Linux/GNU Binutils) 2.23.52.0.1.20130226
bison (GNU Bison) 2.7
/usr/bin/yacc -> /usr/bin/yacc
bzip2,  Version 1.0.6, 6-Sept-2010.
Coreutils:  8.21
diff (GNU diffutils) 3.2
find (GNU findutils) 4.4.2
GNU Awk 3.1.8
/usr/bin/awk -> /bin/gawk-3.1.8
gcc (GCC) 4.8.0
(GNU libc) 2.17
grep (GNU grep) 2.14
gzip 1.5
Linux version 3.8.4 (root@hive64) (gcc version 4.8.0 (GCC) ) #1 SMP Tue Mar 26 20:31:00 CDT 2013
m4 (GNU M4) 1.4.16
GNU Make 3.82
GNU patch 2.7
Perl version='5.16.3';
GNU sed version 4.2.1
tar (GNU tar) 1.26
Texinfo: makeinfo (GNU texinfo) 4.13
xz (XZ Utils) 5.0.4
gcc compilation OK
regards fl0

Last edited by fl0; 04-06-2013 at 02:07 PM.
 
Old 04-06-2013, 02:21 PM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Where you in the gcc dir when you ran this part

tar -Jxf ../mpfr-3.1.2.tar.xz
mv -v mpfr-3.1.2 mpfr
tar -Jxf ../gmp-5.1.1.tar.xz
mv -v gmp-5.1.1 gmp
tar -zxf ../mpc-1.0.1.tar.gz
mv -v mpc-1.0.1 mpc
 
Old 04-06-2013, 02:34 PM   #5
fl0
Member
 
Registered: May 2010
Location: Germany
Distribution: Slackware
Posts: 105

Original Poster
Rep: Reputation: 34
yes, and i tryed again, same error
 
Old 04-06-2013, 03:04 PM   #6
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Can you post the config.log at pastebin, not saying I can help but others might need it.
 
Old 04-06-2013, 03:08 PM   #7
fl0
Member
 
Registered: May 2010
Location: Germany
Distribution: Slackware
Posts: 105

Original Poster
Rep: Reputation: 34
sure http://pastebin.com/jcqkEWFW

hm maybe this is the real error

Code:
/usr/lib64/gcc/x86_64-slackware-linux/4.8.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lpwl
collect2: error: ld returned 1 exit status
configure:5668: $? = 1

Last edited by fl0; 04-06-2013 at 03:14 PM.
 
Old 04-06-2013, 03:25 PM   #8
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Not sure about that part.
Did you create the symlink at end of binutils
 
Old 04-06-2013, 05:44 PM   #9
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
I would go for a 32 bit or 64 bit host system slackware multilib is fine but has a number of problems when building multi lib source code I used to use slacware multilb but gave it up quite quickly as it caused a LOT of problems

I am an ex slacker so I am NOT knocking slackware .

Last edited by Keith Hedger; 04-06-2013 at 05:47 PM.
 
Old 04-07-2013, 02:58 AM   #10
fl0
Member
 
Registered: May 2010
Location: Germany
Distribution: Slackware
Posts: 105

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by spiky0011 View Post
Hi

Not sure about that part.
Did you create the symlink at end of binutils
yes i created the symlink
 
Old 04-07-2013, 03:48 AM   #11
fl0
Member
 
Registered: May 2010
Location: Germany
Distribution: Slackware
Posts: 105

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by Keith Hedger View Post
I would go for a 32 bit or 64 bit host system slackware multilib is fine but has a number of problems when building multi lib source code I used to use slacware multilb but gave it up quite quickly as it caused a LOT of problems

I am an ex slacker so I am NOT knocking slackware .
i replaced the multilib version with the original ones, and start again with binutils and then gcc, same error
 
Old 06-04-2013, 02:20 AM   #12
dvor
LQ Newbie
 
Registered: Jun 2013
Posts: 1

Rep: Reputation: Disabled
Hi, I've got same problem while building gcc pass 1.

Quote:
../../../gcc-4.7.2/libgcc/libgcc2.c: In function '__multi3':
../../../gcc-4.7.2/libgcc/libgcc2.c:559:1: internal compiler error: Segmentation fault
The problem is with gcc 4.8.x on my host linux. I've installed gcc 4.6.4 and everything worked for me.

Last edited by dvor; 06-04-2013 at 11:39 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SEGMENTATION FAULT using gcc 4.4.4 -O2 , works with gcc 4.1.0 -O2 or gcc 4.4.4 -O1 amir1981 Programming 36 07-26-2010 06:07 PM
Segmentation Fault in LFS, Chapter 5.4.1 GTBlackwell Linux From Scratch 2 01-03-2009 02:34 AM
Cross-compiled wireless_tools_v29 caused segmentation fault on arm-platform mailerlee Linux - Wireless Networking 0 02-26-2008 04:01 AM
Segmentation Fault and Gcc compiler skarland Linux - Newbie 2 02-14-2007 09:52 AM
gcc / segmentation fault skeletal29 Linux - Software 0 05-05-2002 04:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration