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

Bug#1014150: gcc-snapshot: unexpected failures with no arguments or with -v



Package: gcc-snapshot
Version: 1:20220630-1
Severity: normal

"gcc-snapshot" without any argument fails in a strange way:

$ gcc-snapshot
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/crt1.o: in function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status

Compare with gcc-12:

$ gcc-12
gcc-12: fatal error: no input files
compilation terminated.

And "gcc-snapshot -v" also fails with the same error (which may
trigger a failure in scripts that use this option).

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-2-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gcc-snapshot depends on:
ii  amdgcn-tools    13
ii  binutils        2.38.50.20220629-2
ii  lib32z1         1:1.2.11.dfsg-4
ii  libc6           2.33-7
ii  libc6-dev       2.33-7
ii  libc6-dev-i386  2.33-7
ii  libc6-dev-x32   2.33-7
ii  libc6-i386      2.33-7
ii  libc6-x32       2.33-7
ii  libgc1          1:8.0.6-1.1
ii  libgmp10        2:6.2.1+dfsg1-1
ii  libisl23        0.24-2
ii  libmpc3         1.2.1-2
ii  libmpfr6        4.1.0-3
ii  libzstd1        1.5.2+dfsg-1
ii  nvptx-tools     0.20180301-1
ii  python3         3.10.4-1+b1
ii  zlib1g          1:1.2.11.dfsg-4

gcc-snapshot recommends no packages.

Versions of packages gcc-snapshot suggests:
ii  binutils [binutils-gold]  2.38.50.20220629-2

-- no debconf information

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: