This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/15676] New: gcc build fails due to missing dl* declarations linking natNameFinder.o


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]