DragonFly users List (threaded) for 2007-11
DragonFly BSD
DragonFly users List (threaded) for 2007-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Link error (/usr/libexec/binutils217/elf/ld) on DragonFly 1.11.0-preview


From: "Naoya Sugioka" <naoya.sugioka@xxxxxxxxx>
Date: Wed, 14 Nov 2007 15:00:35 -0800

Hello,

For some reasons, I'm compiling Java source code (J2sdk 1.3.1 scsl
release) on DFBSD 1.11.0 (preview).
I've staked at liker's message. Could you please let me know any clue
on this ?  J2SDK is version 1.3.1 and I'm using JBootstrap
(http://www.eyesbeyond.com/freebsddom/java/jbootstrap.html) and
J2SDK1.3.1 patchset with modification for DFBSD locally.

Many thanks,
-Naoya

Error message:
> gmake
. ..(snip)...
Rebuilding ../../../build/bsd-i386/lib/i386/libzip.so because of
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/CRC32.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/Adler32.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/Deflater.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/Inflater.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/ZipFile.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/ZipEntry.o ...
/usr/bin/gcc  -W -Wall  -Wno-unused -Wno-parentheses  -DUSE_MMAP
-Di386 -DARCH='"i386"' -DSOLARIS2 -DRELEASE='"1.3.1-p9"'
-DFULL_VERSION='"1.3.1-p9-naoya-071114-06:49"' -D_LARGEFILE64_SOURCE
-D_GNU_SOURCE -D_REENTRANT -DLOGGING -I../../../src/bsd/include -I.
-I../../../build/bsd-i386/tmp/sun/java.util.zip/zip/CClassHeaders
-I../../../src/solaris/javavm/export
-I../../../src/share/javavm/export -I../../../src/share/native/common
-I../../../src/solaris/native/common
-I../../../src/share/native/java/util/zip
-I../../../src/solaris/native/java/util/zip   -UDEBUG
-I../../../src/share/native/java/util/zip/zlib-1.1.3
-L../../../build/bsd-i386/lib/i386 -Wl,-E   -shared -mimpure-text -o
. ./../../build/bsd-i386/lib/i386/libzip.so
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/CRC32.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/Adler32.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/Deflater.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/Inflater.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/ZipFile.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/ZipEntry.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/zadler32.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/zcrc32.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/deflate.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/trees.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/zutil.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/inflate.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/infblock.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/inftrees.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/infcodes.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/infutil.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/inffast.o
. ./../../build/bsd-i386/tmp/sun/java.util.zip/zip/obj/zip_util.o
-ljava -L../../../build/bsd-i386/lib/i386 -lverify
 /usr/libexec/binutils217/elf/ld:
. ./../../build/bsd-i386/lib/i386/libjava.so: end: invalid version
10274 (max 0)
 ../../../build/bsd-i386/lib/i386/libjava.so: could not read symbols: Bad value


Configuration:

I have done 'buildworld/installworld' by gcc4.1 and 'buildkernel' to
use smp support (Intel Core Duo).
Many other applications on pkgsrc are building/working fine.

 > uname -a
DragonFly lpata 1.11.0-PREVIEW DragonFly 1.11.0-PREVIEW #0: Sat Nov 10
00:06:29 PST 2007     naoya@lpata:/usr/obj/usr/src/sys/lpata-110807smp
 i386

> gcc -v
Using built-in specs.
Target:
Configured with: DragonFly/i386 system compiler
Thread model: posix
gcc version 4.1.2 (DragonFly)

> ld -version
GNU ld version 2.17 [DragonFly] 2007-04-12
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

> nm -A ../build/bsd-i386/lib/i386/libjava.so
. ./build/bsd-i386/lib/i386/libjava.so:0000f2a8 T Canonicalize
. ./build/bsd-i386/lib/i386/libjava.so:0000ff70 T GetJavaProperties
. ./build/bsd-i386/lib/i386/libjava.so:0000fa90 T GetStringPlatformChars
. ./build/bsd-i386/lib/i386/libjava.so:00018a4c B IO_fd_fdID
. ./build/bsd-i386/lib/i386/libjava.so:0000fd90 T JNI_OnLoad
. ..
It looks so library file is correct.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]