[Bug 796429] [NEW] Ignores wrong option -nostdlibs

Pan Yongzhi panyongzhi at gmail.com
Mon Jun 13 04:58:55 UTC 2011


Public bug reported:

Binary package hint: gcc-4.5

-nostdlibs is a typo of -nostdlib. gcc silently ignores this type and
link to the standard libraries.

Sample output:
$ make -B no-header-files-example
gcc -Wall -pedantic -std=c99 -nostdlibs -o no-header-files-example no-header-files-example.c
$ ./no-header-files-example 
12565

** Affects: gcc-4.5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.5 in Ubuntu.
https://bugs.launchpad.net/bugs/796429

Title:
  Ignores wrong option -nostdlibs

Status in “gcc-4.5” package in Ubuntu:
  New

Bug description:
  Binary package hint: gcc-4.5

  -nostdlibs is a typo of -nostdlib. gcc silently ignores this type and
  link to the standard libraries.

  Sample output:
  $ make -B no-header-files-example
  gcc -Wall -pedantic -std=c99 -nostdlibs -o no-header-files-example no-header-files-example.c
  $ ./no-header-files-example 
  12565

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/796429/+subscriptions




More information about the foundations-bugs mailing list