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

Bug#980277: gcc: c99(1) provided by c99-gcc(1) isn't conforming to POSIX



Package: gcc
Version: 4:8.3.0-1
Severity: minor

POSIX has option '-O <optlevel>' for c99(1) command, which means 'c99 -O 1 ...'
should be exactly same as 'c99 -O1 ...'; however it is not in c99-gcc(1):

$ ls -l /etc/alternatives/c99
lrwxrwxrwx 1 root root 16 Sep 14 17:12 /etc/alternatives/c99 -> /usr/bin/c99-gcc
$ c99 -O1 hello.c 
$ c99 -O 1 hello.c 
gcc: error: 1: No such file or directory

See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html

-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.147-rivoreo-amd64 (SMP w/32 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gcc depends on:
ii  cpp    4:8.3.0-1
ii  gcc-8  8.3.0-6

Versions of packages gcc recommends:
ii  libc6-dev [libc-dev]  2.28-10

Versions of packages gcc suggests:
ii  autoconf      2.69-11
ii  automake      1:1.16.1-4
ii  bison         2:3.3.2.dfsg-1
ii  flex          2.6.4-6.2
pn  gcc-doc       <none>
pn  gcc-multilib  <none>
ii  gdb           8.2.1-2+b3
ii  libtool       2.4.6-9
ii  make          4.2.1-1.2
ii  manpages-dev  4.16-2

-- no debconf information


Reply to: