You are not logged in.

#1 2009-09-30 22:55:49

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

[solved] Problem with libtool?

Hi all, while compiling pulseaudio-git I get this log from makepkg (warning, 1.7k lines):-

http://pastebin.com/mfa5eff8

It managed to compile fine without -Wl,--as-needed. However, when I asked on the pulseaudio ML, the dev pointed up this line in my log (line 1700):-
libtool: link: not configured to extract global symbols from dlpreopened files

He mentioned there's probably a bug in libtool, or perhaps in our particular binary. Should I submit a bug report, or is there a simple "reason'' anyone knows of?

Last edited by ngoonee (2009-10-01 01:45:49)


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#2 2009-09-30 23:12:02

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,671
Website

Re: [solved] Problem with libtool?

I have only ever seen that when cross compiling:

configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for x86_64-pc-linux-gnu-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... no

Offline

#3 2009-10-01 00:03:45

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: [solved] Problem with libtool?

Allan wrote:

I have only ever seen that when cross compiling:

configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for x86_64-pc-linux-gnu-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... no

In this case, the thing is that my CHOST is x86_64-pc-linux-gnu, while some packages seem to require x86_64-unknown-linux-gnu, probably due to the search for $CHOST-gcc. I can't remember whether I have previously modified this CHOST value. If I attempt to compile by manually setting CHOST inside the PKGBUILD, it works, though I'm not sure if the libtool error still comes out. Regardless, does this mean libtool is working fine?

EDIT: I was just searching CHOST on our wiki, and perhaps I'd changed my CHOST to x86_64-pc-linux-gnu following this wiki article. Again, I can't remember.... What's the 'correct' value for CHOST on a 64-bit system?

Last edited by ngoonee (2009-10-01 00:17:25)


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#4 2009-10-01 01:33:13

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,671
Website

Re: [solved] Problem with libtool?

This is the default:

CHOST="x86_64-unknown-linux-gnu"

Edit: that wiki article is weird...

Offline

#5 2009-10-01 01:38:15

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: [solved] Problem with libtool?

Allan wrote:

This is the default:

CHOST="x86_64-unknown-linux-gnu"

Edit: that wiki article is weird...

smile well, its 'in the wiki'. Sounds religious, said that way. Let me know here if that's not correct, I'll make the appropriate wiki changes (and changes in my system, of course).


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#6 2009-10-01 01:40:51

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,671
Website

Re: [solved] Problem with libtool?

I'd recommend sticking with what the x86_64 gcc is built for....

> gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu

Feel free to fix the wiki tongue

Offline

#7 2009-10-01 01:45:35

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: [solved] Problem with libtool?

Allan wrote:

Feel free to fix the wiki tongue

Changed. Thanks.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB