gcc version bug in libtool?

You think you have found a bug? Let us know about it.
Post Reply
User avatar
maximus
Posts: 141
Joined: 2. Sep 2009, 01:41

gcc version bug in libtool?

Post by maximus » 7. May 2010, 05:41

I am using x86_64 current
I was compiling something yesterday and was running into an error where libtool was linking to the wrong gcc version:

Code: Select all

libtool: link: g++ -shared -nostdlib /usr/lib64/gcc/x86_64-slackware-linux/4.4.2/../../../../lib64/crti.o
leading to this:

Code: Select all

g++: /usr/lib64/gcc/x86_64-slackware-linux/4.4.2/../../../../lib64/crti.o: No such file or directory
which is right, the directory /usr/lib64/gcc/x86_64-slackware-linux/4.4.2 does not exist - but /usr/lib64/gcc/x86_64-slackware-linux/4.4.3 does exist.

Editing /usr/bin/libtool and replacing all references to 4.4.2 with 4.4.3 fixes this issue.

Is this a bug in libtool or did something go wrong with an upgrade? Can someone confirm?

Thanks :)

User avatar
gapan
Salix Wizard
Posts: 5536
Joined: 6. Jun 2009, 17:40

Re: gcc version bug in libtool?

Post by gapan » 7. May 2010, 10:47

Looks like a bug. What are you trying to compile exactly?
Image
Image

User avatar
maximus
Posts: 141
Joined: 2. Sep 2009, 01:41

Re: gcc version bug in libtool?

Post by maximus » 7. May 2010, 13:45

It's called gexiv2, "a GObject-based wrapper around the Exiv2 library" (link). I can't remember when the last libtool/gcc upgrade was but I haven't run into this particular problem before.

Post Reply