[Bug 1200527] [NEW] compiler flags order bug
weihualee
lwh1987 at mail.ustc.edu.cn
Fri Jul 12 08:32:12 UTC 2013
Public bug reported:
When I compile a open source software
"2HDMC"(http://2hdmc.hepforge.org/) on my computer, it occurs
"SM.cpp:(.text+0x4d8): undefined reference to `gsl_matrix_set'".
platform: Ubuntu12.04LST
The compiler: g++ version 4.6.3)
flags : -lgsl -lgslcblas -Llib -l2HDMC
when I use flags: -Llib -l2HDMC -lgsl -lgslcblas, it works!
when I user g++-4.4 , the makefile also works!
So, it must be wrong on the flag orders of g++-4.6.3
** Affects: gcc-4.6 (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.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1200527
Title:
compiler flags order bug
Status in “gcc-4.6” package in Ubuntu:
New
Bug description:
When I compile a open source software
"2HDMC"(http://2hdmc.hepforge.org/) on my computer, it occurs
"SM.cpp:(.text+0x4d8): undefined reference to `gsl_matrix_set'".
platform: Ubuntu12.04LST
The compiler: g++ version 4.6.3)
flags : -lgsl -lgslcblas -Llib -l2HDMC
when I use flags: -Llib -l2HDMC -lgsl -lgslcblas, it works!
when I user g++-4.4 , the makefile also works!
So, it must be wrong on the flag orders of g++-4.6.3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/1200527/+subscriptions
More information about the foundations-bugs
mailing list