View previous topic :: View next topic |
Author |
Message |
himpierre l33t
Joined: 31 Aug 2002 Posts: 867 Location: Berlin
|
Posted: Tue Aug 05, 2003 8:40 am Post subject: cant compile nothing anymore suddenly |
|
|
Hello
As the subject says, suddenly my system is screwed up. For example:
Code: |
debian root # emerge portage
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.48-r5 to /
>>> md5 src_uri ;-) portage-2.0.48-r5.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.48-r5.tar.bz2 to /var/tmp/portage/portage-2.0.48-r5/work
>>> Source unpacked.
<command line>:-8: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... <command line>:-8: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
ldd: ./libctest: No such file or directory
rm: cannot remove `libctest': No such file or directory
gcc -march=i386 -O1 -pipe -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT libsandbox.c
<command line>:-8: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [libsandbox.o] Error 1
!!! ERROR: sys-apps/portage-2.0.48-r5 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)
debian root #
|
or
Code: |
debian root # emerge ncurses
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-libs/ncurses-5.3-r1 to /
>>> md5 src_uri ;-) ncurses-5.3.tar.gz
>>> Unpacking source...
>>> Unpacking ncurses-5.3.tar.gz to /var/tmp/portage/ncurses-5.3-r1/work
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
Configuring NCURSES 5.3 ABI 5 (Tue Aug 5 10:38:51 CEST 2003)
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring for linux-gnu
checking for prefix... /usr
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
!!! ERROR: sys-libs/ncurses-5.3-r1 failed.
!!! Function econf, Line 320, Exitcode 77
!!! econf failed
debian root #
|
Someone has an advise for me?
thanks and regards
Thomas |
|
Back to top |
|
|
patan n00b
Joined: 19 Feb 2003 Posts: 66
|
Posted: Tue Aug 05, 2003 9:15 am Post subject: |
|
|
Did you change your CHOST or CFLAGS? |
|
Back to top |
|
|
mrsteven Veteran
Joined: 04 Jul 2003 Posts: 1938
|
|
Back to top |
|
|
himpierre l33t
Joined: 31 Aug 2002 Posts: 867 Location: Berlin
|
Posted: Tue Aug 05, 2003 9:27 am Post subject: |
|
|
No, not at all.
Thomas |
|
Back to top |
|
|
To Veteran
Joined: 12 Apr 2003 Posts: 1145 Location: Coimbra, Portugal
|
Posted: Tue Aug 05, 2003 10:44 am Post subject: |
|
|
Something is really wrong with your computer.
Usually segmentation faults are hardware releated, overclocking, or some damaged componente, processor, RAM, or even hdd. Also I've seen a crazy error cause a guy had is disk full, but that was real strange.
try to re-emerge your gcc if that fails... well just a crazy idea, boot from a live CD and do an emerge -e system
Tó _________________
------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------ |
|
Back to top |
|
|
himpierre l33t
Joined: 31 Aug 2002 Posts: 867 Location: Berlin
|
Posted: Tue Aug 05, 2003 2:23 pm Post subject: |
|
|
Hello
After reboot everything seems to work again. Hm....
regards
Thomas |
|
Back to top |
|
|
|