[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ld



Alexey Pialkin wrote:
> Thanx. I will get them. If you you have any ideas to test/try - please respond :)

I replaced cc1 by a script that run strace on it.  My error in cc1 (signal 10)
then disappeared.  It's now gcc which segfaults :-((
You can act similarly for ld.

Bellow are 3 set of traces: the first one shows that gcc is looking for "as"
using some weird directory names (sparc-l, sparc-lrc-linux).
In the second one, as cannot be found.
In the third test, I only created a symlink name sparc-linux to /usr.
/usr/sparc-linux/bin is then the same as /usr/bin, so gcc can now find as.
However, in all cases gcc segfaults.

--------1--------
access("/usr/lib/gcc-lib/sparc-linux/2.7.2.3/as", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc-lib/sparc-linux/as", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc-lib/sparc-l/2.7.2.3/as", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc-lib/sparc-l/as", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc-lib/sparc-lrc-linux/2.7.2.3/as", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc-lib/sparc-lrc-linux/2.7.2.3/as", X_OK) = -1 ENOENT (No such file or directory)
fork()                                  = 3832
wait4(-1, [WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)], 0, NULL) = 3832
--- SIGCHLD (Child exited) ---
write(2, "gcc: ", 5gcc: )                    = 5
write(2, "Internal compiler error: program"..., 55Internal compiler error: program as got fatal signal 11) = 55


--------2--------
access("/usr/lib/gcc-lib/sparc-linux/2.7.2.3/as", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc-lib/sparc-linux/as", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/sparc-linux/2.7.2.3/as", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/sparc-linux/as", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/sparc-linux/bin/sparc-linux/2.7.2.3/as", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/sparc-linux/bin/as", X_OK) = -1 ENOENT (No such file or directory)
fork()                                  = 3860
wait4(-1, [WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)], 0, NULL) = 3860
--- SIGCHLD (Child exited) ---
write(2, "gcc: ", 5gcc: )                    = 5
write(2, "Internal compiler error: program"..., 55Internal compiler error: program as got fatal signal 11) = 55


--------3--------
access("/usr/lib/gcc-lib/sparc-linux/2.7.2.3/as", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc-lib/sparc-linux/as", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/sparc-linux/2.7.2.3/as", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/sparc-linux/as", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/sparc-linux/bin/sparc-linux/2.7.2.3/as", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/sparc-linux/bin/as", X_OK) = 0
fork()                                  = 3818
wait4(-1, [WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)], 0, NULL)
= 3818
--- SIGCHLD (Child exited) ---
write(2, "gcc: ", 5gcc: )                    = 5
write(2, "Internal compiler error: program"..., 55Internal compiler error: program as got fatal signal 11) = 55


> P.P.S. also a lot of programs from ftp.debian.org are requring ncurses 3.4
>    which are not avaible by now :( I'v cured it by forcing but this is not a
>    best solution.. Does anybody going to care about it or it will be my first
>    candidat for port to Debian-Sparc :)

I compiled ncurses months ago, however I don't remember whether I uploaded to master
or not.  It appears I did not :-(.  BTW, you can find the binary packages at
lix.polytechnique.fr under /pub/Linux/debian/sparc/exp.aout97.

Hope this help.

-- 
 Eric Delaunay                 | "La guerre justifie l'existence des militaires.
 delaunay@lix.polytechnique.fr | En les supprimant." Henri Jeanson (1900-1970)


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-sparc-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: