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

Bug#480203: marked as done (gcc doesn't compile anything on arm)



Your message dated Thu, 8 May 2008 22:33:39 +0200
with message-id <20080508203339.GA29221@laura.lri.fr>
and subject line Re: Bug#480203: gcc doesn't compile anything on arm
has caused the Debian Bug report #480203,
regarding gcc doesn't compile anything on arm
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
480203: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480203
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc
Version: 4.3.0-4

Im running Debian unstable on FS Pocket Loox 720. And gcc nor 4.3 nor 4.2 version doesn't compile anything:

kotoko720:~# uname -a
Linux kotoko720 2.6.21-hh14-128M #44 PREEMPT Sat Sep 22 20:04:17 CEST 2007 armv5tel GNU/Linux
kotoko720:~# cat test.c     
#include <stdio.h>

int main()
{
    printf("Hello, world!");
    return 0;
}
kotoko720:~# gcc-4.3 test.c
test.c: In function 'main':
test.c:7: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
kotoko720:~# gcc-4.2 test.c
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
kotoko720:~# find / -iname '*crt*'
/usr/bin/colcrt
/usr/lib/gcc/arm-linux-gnu/4.2/crtbeginS.o
/usr/lib/gcc/arm-linux-gnu/4.2/crtbeginT.o
/usr/lib/gcc/arm-linux-gnu/4.2/crtbegin.o
/usr/lib/gcc/arm-linux-gnu/4.2/crtendS.o
/usr/lib/gcc/arm-linux-gnu/4.2/crtend.o
/usr/lib/gcc/arm-linux-gnu/4.3/crtbeginS.o
/usr/lib/gcc/arm-linux-gnu/4.3/crtbeginT.o
/usr/lib/gcc/arm-linux-gnu/4.3/crtbegin.o
/usr/lib/gcc/arm-linux-gnu/4.3/crtendS.o
/usr/lib/gcc/arm-linux-gnu/4.3/crtend.o
/usr/share/man/man1/colcrt.1.gz
/usr/share/tabset/stdcrt
kotoko720:~# dpkg -s libc6
Package: libc6
Status: install ok installed
Priority: required
Section: libs
Installed-Size: 10864
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: arm
Source: glibc
Version: 2.7-10
Provides: glibc-2.7-1
Depends: libgcc1
Suggests: locales, glibc-doc
Conflicts: libterm-readline-gnu-perl (<< 1.15-2), tzdata (<< 2007k-1)
Conffiles:
 /etc/gai.conf bdd4cc328b946a52cc1424ef3dfa9321
 /etc/ld.so.conf.d/arm-linux-gnu.conf e89da079e02a33ab0db41fe2456d3d6c
 /etc/ld.so.conf.d/libc.conf d4d833fd095fb7b90e1bb4a547f16de6
 /etc/bindresvport.blacklist db84c47f31f8d5a334a4053d8368e902
 /etc/init.d/glibc.sh ce55541f2b38719f6eba57abe9f23603
Description: GNU C Library: Shared libraries
 Contains the standard libraries that are used by nearly all programs on
 the system. This package includes shared versions of the standard C library
 and the standard math library, as well as many others.
kotoko720:~# dpkg -s libc6-dev
Package: libc6-dev
Status: install ok installed
Priority: optional
Section: libdevel
Installed-Size: 8588
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: arm
Source: glibc
Version: 2.7-10
Replaces: man-db (<= 2.3.10-41), gettext (<= 0.10.26-1), ppp (<= 2.2.0f-24), libgdbmg1-dev (<= 1.7.3-24)
Provides: libc-dev
Depends: libc6 (= 2.7-10), linux-libc-dev
Recommends: gcc | c-compiler
Suggests: glibc-doc, manpages-dev
Conflicts: libstdc++2.10-dev (<< 1:2.95.2-15), gcc-2.95 (<< 1:2.95.3-8), binutils (<< 2.17cvs20070426-1), libc-dev
Description: GNU C Library: Development Libraries and Header Files
 Contains the symlinks, headers, and object files needed to compile
 and link programs which use the standard C library.


:'(



--- End Message ---
--- Begin Message ---
tags + unreproducible
thanks

On Thu, May 08, 2008 at 11:14:15PM +0400, Jan Trofimov wrote:
> other gcc versions have
> 
> kotoko720:~# gcc-4.2 test.c
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> 
> kotoko720:~# gcc-4.1 test.c
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> 
> (this bug feels like libc-dev bug or some unsynhronised things with ld and libc-dev)
> 
> but gcc 4.3 don't want even compile this
> 
> kotoko720:~# gcc-4.3 -c test.c
> test.c: In function 'main':
> test.c:7: internal compiler error: Illegal instruction
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
> 
> also, there is no other distro and no other kernel for my device.
> 


Works fine the three arm machines I tested, please check your system and your
kernel. You can try on a clean chroot, here is how to create one:

$ debootstrap sid sid http://ftp.debian.org/debian
$ chroot sid

Otherwise, you can try to run this in gdb:
/usr/lib/gcc/arm-linux-gnu/4.3.1/cc1 -v test.c -dumpbase test.c -auxbase test -version -o -

Please also check if _only_ gcc fails on your machine, it sounds strange.

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: