Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cant compile nothing anymore suddenly
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
himpierre
l33t
l33t


Joined: 31 Aug 2002
Posts: 867
Location: Berlin

PostPosted: Tue Aug 05, 2003 8:40 am    Post subject: cant compile nothing anymore suddenly Reply with quote

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
View user's profile Send private message
patan
n00b
n00b


Joined: 19 Feb 2003
Posts: 66

PostPosted: Tue Aug 05, 2003 9:15 am    Post subject: Reply with quote

Did you change your CHOST or CFLAGS?
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1938

PostPosted: Tue Aug 05, 2003 9:19 am    Post subject: Reply with quote

Take a look at this: http://www.tldp.org/FAQ/sig11/html/index.html Maybe your hardware is broken...
Back to top
View user's profile Send private message
himpierre
l33t
l33t


Joined: 31 Aug 2002
Posts: 867
Location: Berlin

PostPosted: Tue Aug 05, 2003 9:27 am    Post subject: Reply with quote

No, not at all.

Thomas
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Tue Aug 05, 2003 10:44 am    Post subject: Reply with quote

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 :wink:


_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
himpierre
l33t
l33t


Joined: 31 Aug 2002
Posts: 867
Location: Berlin

PostPosted: Tue Aug 05, 2003 2:23 pm    Post subject: Reply with quote

Hello

After reboot everything seems to work again. Hm....

regards
Thomas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum