[Bug 1043674] Re: gcc parser filename error.

Matthias Klose doko at ubuntu.com
Sat Sep 8 15:25:01 UTC 2012

Ubuntu's gcc defaults to the linker option --as-needed. objects should
go before libraries on the command line.

** Changed in: gcc-defaults (Ubuntu)
       Status: New => Invalid

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.

  gcc parser filename error.

Status in “gcc-defaults” package in Ubuntu:

Bug description:
  system: Ubuntu 12.04 LTS
  gcc version: gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

  What I do:
  $ gcc -std=gnu99 -Wall -lm test.c

  /tmp/cciGyu4N.o: In function `main':                                                           │                                                                                               
  test.c:(.text+0x2f): undefined reference to `sin'                                              │                                                                                               
  collect2: ld returned 1 exit status

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list