public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/25207] New: bootstrap fails on libjava if alsa headers present but no -lasound.
@ 2005-12-01 15:06 hp at gcc dot gnu dot org
2005-12-01 15:29 ` [Bug bootstrap/25207] " pinskia at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2005-12-01 15:06 UTC (permalink / raw)
To: gcc-bugs
This is on FC4 with alsa-lib{.i386,x86-64} installed but only
alsa-lib-devel.x86_64 (no alsa-lib-devel.i386). Hence the header
files are there, but not the libraries when building the -m32 multilib.
It looks as if configury looks for and finds header files but it's overlooked
to also look for "asound" libraries:
...
checking for unistd.h... (cached) yes
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking dssi.h usability... no
...
/bin/sh ../../../libtool --mode=link /home/hp/combined/native-regobj/./gcc/xgcc
-B/home/hp/combined/native-regobj/./gcc/ -B/tmp/r\
eg-native/x86_64-unknown-linux-gnu/bin/
-B/tmp/reg-native/x86_64-unknown-linux-gnu/lib/ -isystem
/tmp/reg-native/x86_64-unknown-l\
inux-gnu/include -isystem /tmp/reg-native/x86_64-unknown-linux-gnu/sys-include
-L/home/hp/combined/native-regobj/./ld -m32 -peda\
ntic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes
-Wno-long-long -Wstrict-prototypes `pkg-config --cflag\
s-only-other alsa` -O2 -g -O2 -m32 -module -version-info 0:0:0 -no-undefined
-m32 -o libgjsmalsa.la -rpath /tmp/reg-native/lib/\
classpath gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.lo
gnu_javax_sound_midi_alsa_AlsaPortDevice.lo gnu_javax_sound_midi_\
alsa_AlsaMidiDeviceProvider.lo -lasound
/home/hp/combined/native-regobj/./gcc/xgcc
-B/home/hp/combined/native-regobj/./gcc/
-B/tmp/reg-native/x86_64-unknown-linux-gnu/bi\
n/ -B/tmp/reg-native/x86_64-unknown-linux-gnu/lib/ -isystem
/tmp/reg-native/x86_64-unknown-linux-gnu/include -isystem /tmp/reg-na\
tive/x86_64-unknown-linux-gnu/sys-include
-L/home/hp/combined/native-regobj/./ld -m32 -shared
.libs/gnu_javax_sound_midi_alsa_A\
lsaMidiSequencerDevice.o .libs/gnu_javax_sound_midi_alsa_AlsaPortDevice.o
.libs/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.\
o -L/home/hp/combined/native-regobj/./ld -lasound -Wl,-soname
-Wl,libgjsmalsa.so.0 -o .libs/libgjsmalsa.so.0.0.0
/home/hp/combined/native-regobj/./gcc/collect-ld: cannot find -lasound
collect2: ld returned 1 exit status
make[11]: *** [libgjsmalsa.la] Error 1
make[11]: Leaving directory
`/home/hp/combined/native-regobj/x86_64-unknown-linux-gnu/32/libjava/classpath/native/jni/midi-alsa'
I'll work around this by installing alsa-lib-devel.i386
--
Summary: bootstrap fails on libjava if alsa headers present but
no -lasound.
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hp at gcc dot gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25207
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25207] bootstrap fails on libjava if alsa headers present but no -lasound.
2005-12-01 15:06 [Bug bootstrap/25207] New: bootstrap fails on libjava if alsa headers present but no -lasound hp at gcc dot gnu dot org
@ 2005-12-01 15:29 ` pinskia at gcc dot gnu dot org
2005-12-01 15:31 ` aph at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-01 15:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-12-01 15:29 -------
I want to say FC4 is wrong here, if it does not have a library, it should not
have the headers. Can you also file this with Redhat?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25207
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25207] bootstrap fails on libjava if alsa headers present but no -lasound.
2005-12-01 15:06 [Bug bootstrap/25207] New: bootstrap fails on libjava if alsa headers present but no -lasound hp at gcc dot gnu dot org
2005-12-01 15:29 ` [Bug bootstrap/25207] " pinskia at gcc dot gnu dot org
@ 2005-12-01 15:31 ` aph at gcc dot gnu dot org
2005-12-01 16:29 ` hp at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-12-01 15:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from aph at gcc dot gnu dot org 2005-12-01 15:31 -------
It's caused by only one multilib being installed. The 64-bit one is there, not
the 32-bit one.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25207
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25207] bootstrap fails on libjava if alsa headers present but no -lasound.
2005-12-01 15:06 [Bug bootstrap/25207] New: bootstrap fails on libjava if alsa headers present but no -lasound hp at gcc dot gnu dot org
2005-12-01 15:29 ` [Bug bootstrap/25207] " pinskia at gcc dot gnu dot org
2005-12-01 15:31 ` aph at gcc dot gnu dot org
@ 2005-12-01 16:29 ` hp at gcc dot gnu dot org
2005-12-01 18:36 ` hp at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2005-12-01 16:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hp at gcc dot gnu dot org 2005-12-01 16:29 -------
In response to comment #1, no. The headers are provided by *both*
alsa-lib-devel packages.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25207
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25207] bootstrap fails on libjava if alsa headers present but no -lasound.
2005-12-01 15:06 [Bug bootstrap/25207] New: bootstrap fails on libjava if alsa headers present but no -lasound hp at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-12-01 16:29 ` hp at gcc dot gnu dot org
@ 2005-12-01 18:36 ` hp at gcc dot gnu dot org
2005-12-01 19:33 ` green at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2005-12-01 18:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from hp at gcc dot gnu dot org 2005-12-01 18:36 -------
"Aph" mentioned "green" were expected to fix it, so CC:ed.
--
hp at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |green at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25207
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25207] bootstrap fails on libjava if alsa headers present but no -lasound.
2005-12-01 15:06 [Bug bootstrap/25207] New: bootstrap fails on libjava if alsa headers present but no -lasound hp at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-12-01 18:36 ` hp at gcc dot gnu dot org
@ 2005-12-01 19:33 ` green at gcc dot gnu dot org
2005-12-01 19:42 ` hp at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: green at gcc dot gnu dot org @ 2005-12-01 19:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from green at gcc dot gnu dot org 2005-12-01 19:33 -------
Subject: Bug 25207
Author: green
Date: Thu Dec 1 19:33:42 2005
New Revision: 107828
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107828
Log:
2005-12-01 Anthony Green <green@redhat.com>
PR bootstrap/25207
* configure.ac: Make sure we have an alsa library in addition to
the headers. This extra test is required for systems with
multilibs.
* configure: Rebuilt.
Modified:
trunk/libjava/classpath/ChangeLog.gcj
trunk/libjava/classpath/configure
trunk/libjava/classpath/configure.ac
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25207
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25207] bootstrap fails on libjava if alsa headers present but no -lasound.
2005-12-01 15:06 [Bug bootstrap/25207] New: bootstrap fails on libjava if alsa headers present but no -lasound hp at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-12-01 19:33 ` green at gcc dot gnu dot org
@ 2005-12-01 19:42 ` hp at gcc dot gnu dot org
2005-12-01 20:09 ` green at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2005-12-01 19:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from hp at gcc dot gnu dot org 2005-12-01 19:42 -------
Exactly!
--
hp at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25207
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25207] bootstrap fails on libjava if alsa headers present but no -lasound.
2005-12-01 15:06 [Bug bootstrap/25207] New: bootstrap fails on libjava if alsa headers present but no -lasound hp at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-12-01 19:42 ` hp at gcc dot gnu dot org
@ 2005-12-01 20:09 ` green at gcc dot gnu dot org
2005-12-02 16:37 ` cvs-commit at developer dot classpath dot org
2005-12-12 20:13 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: green at gcc dot gnu dot org @ 2005-12-01 20:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from green at gcc dot gnu dot org 2005-12-01 20:09 -------
Subject: Bug 25207
Author: green
Date: Thu Dec 1 20:09:06 2005
New Revision: 107829
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107829
Log:
2005-12-01 Anthony Green <green@redhat.com>
PR bootstrap/25207
* configure.ac: Make sure we have an alsa library in addition to
the headers. This extra test is required for systems with
multilibs.
* configure: Rebuilt.
Modified:
branches/gcc-4_1-branch/libjava/classpath/ChangeLog.gcj
branches/gcc-4_1-branch/libjava/classpath/configure
branches/gcc-4_1-branch/libjava/classpath/configure.ac
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25207
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25207] bootstrap fails on libjava if alsa headers present but no -lasound.
2005-12-01 15:06 [Bug bootstrap/25207] New: bootstrap fails on libjava if alsa headers present but no -lasound hp at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-12-01 20:09 ` green at gcc dot gnu dot org
@ 2005-12-02 16:37 ` cvs-commit at developer dot classpath dot org
2005-12-12 20:13 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at developer dot classpath dot org @ 2005-12-02 16:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from cvs-commit at developer dot classpath dot org 2005-12-02 16:37 -------
Subject: Bug 25207
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Anthony Green <green@savannah.gnu.org> 05/12/02 13:57:44
Modified files:
. : ChangeLog configure.ac
Log message:
2005-12-01 Anthony Green <green@redhat.com>
PR bootstrap/25207
* configure.ac: Make sure we have an alsa library in addition to
the headers. This extra test is required for systems with
multilibs.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5756&tr2=1.5757&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/configure.ac.diff?tr1=1.119&tr2=1.120&r1=text&r2=text
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25207
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25207] bootstrap fails on libjava if alsa headers present but no -lasound.
2005-12-01 15:06 [Bug bootstrap/25207] New: bootstrap fails on libjava if alsa headers present but no -lasound hp at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-12-02 16:37 ` cvs-commit at developer dot classpath dot org
@ 2005-12-12 20:13 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-12 20:13 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25207
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-12-12 20:13 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-01 15:06 [Bug bootstrap/25207] New: bootstrap fails on libjava if alsa headers present but no -lasound hp at gcc dot gnu dot org
2005-12-01 15:29 ` [Bug bootstrap/25207] " pinskia at gcc dot gnu dot org
2005-12-01 15:31 ` aph at gcc dot gnu dot org
2005-12-01 16:29 ` hp at gcc dot gnu dot org
2005-12-01 18:36 ` hp at gcc dot gnu dot org
2005-12-01 19:33 ` green at gcc dot gnu dot org
2005-12-01 19:42 ` hp at gcc dot gnu dot org
2005-12-01 20:09 ` green at gcc dot gnu dot org
2005-12-02 16:37 ` cvs-commit at developer dot classpath dot org
2005-12-12 20:13 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).