public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/15676] New: gcc build fails due to missing dl* declarations linking natNameFinder.o
@ 2004-05-27 10:56 dog at bluezoo dot org
  2004-05-27 11:47 ` [Bug libgcj/15676] " pinskia at gcc dot gnu dot org
  2004-05-28 16:06 ` dog at bluezoo dot org
  0 siblings, 2 replies; 3+ messages in thread
From: dog at bluezoo dot org @ 2004-05-27 10:56 UTC (permalink / raw)
  To: java-prs

configured with options: --enable-languages=c,c++,java
make results in:
...
Making all in include
/bin/sh ./libtool --tag=CXX --mode=compile /gcc/darwin/gcc/xgcc -shared-libgcc -B/gcc/darwin/
gcc/ -nostdinc++ -L/gcc/darwin/powerpc-apple-darwin7.3.0/libstdc++-v3/src -L/gcc/darwin/
powerpc-apple-darwin7.3.0/libstdc++-v3/src/.libs -B/usr/local/powerpc-apple-darwin7.3.0/bin/ -B/
usr/local/powerpc-apple-darwin7.3.0/lib/ -isystem /usr/local/powerpc-apple-darwin7.3.0/include-
isystem /usr/local/powerpc-apple-darwin7.3.0/sys-include -DHAVE_CONFIG_H -I. -I../../../libjava -I./
include -I./gcj -I../../../libjava -Iinclude -I../../../libjava/include -I/gcc/boehm-gc/include 
-DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" 
-DPACKAGE_BUGREPORT="" -DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSILENT=1 -DNO_SIGNALS=1 
-DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 
-DATOMIC_UNCOLLECTABLE=1   -I../../../libjava/libltdl -I../../../libjava/libltdl  -I../../../libjava/.././
libjava/../gcc -I../../../libjava/../zlib -I../../../libjava/../libffi/include -I../libffi/include  -O2 -g -O2  
-fno-rtti -fnon-call-exceptions  -fdollars-in-identifiers -Wswitch-enum -Wextra -Wall 
-D_GNU_SOURCE -DPREFIX="\"/usr/local\"" -DLIBDIR="\"/usr/local/lib\"" -DBOOT_CLASS_PATH="\"/
usr/local/share/java/libgcj-3.5.0.jar\"" -DJAVA_EXT_DIRS="\"/usr/local/share/java/ext\"" -g -O2 -MD 
-MT gnu/gcj/runtime/natNameFinder.lo -MF gnu/gcj/runtime/natNameFinder.pp -c -o gnu/gcj/
runtime/natNameFinder.lo ../../../libjava/gnu/gcj/runtime/natNameFinder.cc /gcc/darwin/gcc/xgcc 
-shared-libgcc -B/gcc/darwin/gcc/ -nostdinc++ -L/gcc/darwin/powerpc-apple-darwin7.3.0/
libstdc++-v3/src -L/gcc/darwin/powerpc-apple-darwin7.3.0/libstdc++-v3/src/.libs -B/usr/local/
powerpc-apple-darwin7.3.0/bin/ -B/usr/local/powerpc-apple-darwin7.3.0/lib/ -isystem /usr/local/
powerpc-apple-darwin7.3.0/include -isystem /usr/local/powerpc-apple-darwin7.3.0/sys-include 
-DHAVE_CONFIG_H -I. -I../../../libjava -I./include -I./gcj -I../../../libjava -Iinclude -I../../../libjava/
include -I/Volumes/Home/dog/gnu/gcc/boehm-gc/include -DPACKAGE_NAME=-
DPACKAGE_TARNAME= -DPACKAGE_VERSION= -DPACKAGE_STRING= -DPACKAGE_BUGREPORT= 
-DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DALL_INTERIOR_POINTERS=1 
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I../../../libjava/
libltdl -I../../../libjava/libltdl -I../../../libjava/.././libjava/../gcc -I../../../libjava/../zlib -I../../../libjava/
../libffi/include -I../libffi/include -O2 -g -O2 -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers 
-Wswitch-enum -Wextra -Wall -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" 
-DBOOT_CLASS_PATH=\"/usr/local/share/java/libgcj-3.5.0.jar\" -DJAVA_EXT_DIRS=\"/usr/local/
share/java/ext\" -g -O2 -MD -MT gnu/gcj/runtime/natNameFinder.lo -MF gnu/gcj/runtime/
natNameFinder.pp -c ../../../libjava/gnu/gcj/runtime/natNameFinder.cc  -fno-common -DPIC -o gnu/
gcj/runtime/.libs/natNameFinder.o
../../../libjava/gnu/gcj/runtime/natNameFinder.cc: In member function `java::lang::StackTraceElement* 
gnu::gcj::runtime::NameFinder::dladdrLookup(gnu::gcj::RawData*, jint)':
../../../libjava/gnu/gcj/runtime/natNameFinder.cc:112: error: `Dl_info' was not declared in this scope
../../../libjava/gnu/gcj/runtime/natNameFinder.cc:112: error: expected `;' before "dl_info"
../../../libjava/gnu/gcj/runtime/natNameFinder.cc:114: error: `dl_info' was not declared in this scope
../../../libjava/gnu/gcj/runtime/natNameFinder.cc:114: error: `dladdr' was not declared in this scope

-- 
           Summary: gcc build fails due to missing dl* declarations linking
                    natNameFinder.o
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dog at bluezoo dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: powerpc-apple-darwin7.3.0
  GCC host triplet: powerpc-apple-darwin7.3.0
GCC target triplet: powerpc-apple-darwin7.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15676


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libgcj/15676] gcc build fails due to missing dl* declarations linking natNameFinder.o
  2004-05-27 10:56 [Bug java/15676] New: gcc build fails due to missing dl* declarations linking natNameFinder.o dog at bluezoo dot org
@ 2004-05-27 11:47 ` pinskia at gcc dot gnu dot org
  2004-05-28 16:06 ` dog at bluezoo dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-27 11:47 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-27 11:41 -------
This works for me (and many other people), make sure that you do not have dlcompat installed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|java                        |libgcj
         Resolution|                            |WORKSFORME


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15676


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libgcj/15676] gcc build fails due to missing dl* declarations linking natNameFinder.o
  2004-05-27 10:56 [Bug java/15676] New: gcc build fails due to missing dl* declarations linking natNameFinder.o dog at bluezoo dot org
  2004-05-27 11:47 ` [Bug libgcj/15676] " pinskia at gcc dot gnu dot org
@ 2004-05-28 16:06 ` dog at bluezoo dot org
  1 sibling, 0 replies; 3+ messages in thread
From: dog at bluezoo dot org @ 2004-05-28 16:06 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From dog at bluezoo dot org  2004-05-28 07:53 -------
dlcompat had been installed by a 3rd party package, gcc builds after removal. Thank you.
Is this worth a quick line on http://gcc.gnu.org/install/specific.html ?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15676


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-28  7:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-27 10:56 [Bug java/15676] New: gcc build fails due to missing dl* declarations linking natNameFinder.o dog at bluezoo dot org
2004-05-27 11:47 ` [Bug libgcj/15676] " pinskia at gcc dot gnu dot org
2004-05-28 16:06 ` dog at bluezoo 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).