--- Comment #5 from pinskia at gcc dot gnu dot org 2006-05-11 02:58 ---
This is a bug in libtool, look here:
/bin/sh ../libtool --tag=CC --mode=link gcc -pthread
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -Wall -O2 -g
-Wall -fprofile-generate -o libflow.la -rpath
--- Comment #4 from hpj at copyleft dot no 2006-05-11 02:53 ---
Created an attachment (id=11437)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11437&action=view)
Build with -fprofile (breaks).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27545
--- Comment #3 from hpj at copyleft dot no 2006-05-11 02:53 ---
Created an attachment (id=11436)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11436&action=view)
Build without -fprofile.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27545
--- Comment #2 from hpj at copyleft dot no 2006-05-11 02:52 ---
Yes, it's building with -fPIC and building/linking with -fprofile-generate.
Without -fprofile-generate, it all builds fine. I'm using libtool. I'm
attaching logs of builds with and without -fprofile-generate so you have all
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-11 02:43 ---
Can you make sure that the library is still building with -fPIC, if it is not,
then this is not a bug.
And can you make sure that the library is linking with -fprofile-generate, if
it is not, then this is not a bug.