Skip to contentSkip to conversation

Error building classpath-initial

DISCUSSION Ken Gilmer 2 participants 2 messages Jun 10, 2008 – Jul 12, 2008

lore
Share & tools
lore

Ken Gilmer

author
#0 lore raw

Hello,

I'm trying to build classpath-initial and am getting the following
error. My local.conf file is pretty stock, and I'm using the example machine provided. The distro is angstrom-2008.1. I'm able to build a variety of other packages. I've updated my tree (org.openembedded.dev) today. Has anyone run into this error before? Ideas on how to resolve?

$ bitbake classpath-minimal
NOTE: Handling BitBake files: \ (5485/5485) [100 %]
NOTE: Parsing finished. 5249 cached, 0 parsed, 236 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200806101611: started

OE Build Configuration:
BB_VERSION = "1.8.11"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "0f761bf9a1994f4bbf445420d19be2f5e8038ee2"

TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "c7x0"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2008.1-test-20080610"
TARGET_FPU        = "soft"

...

| /bin/sh ../../../i686-linux-libtool --tag=CC --mode=link ccache gcc
-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -Wstrict-prototypes -pedantic -Werror -isystem/home/kgilmer/dev/sandbox/oe-dev/tmp/staging/i686-linux/usr/include -Os -module -version-info 0:0:0 -no-undefined -L/home/kgilmer/dev/sandbox/oe-dev/tmp/staging/i686-linux/usr/lib -Wl,-rpath-link,/home/kgilmer/dev/sandbox/oe-dev/tmp/staging/i686-linux/usr/lib -Wl,-rpath,/home/kgilmer/dev/sandbox/oe-dev/tmp/staging/i686-linux/usr/lib -Wl,-O1 -o libjavanet.la -rpath /home/kgilmer/dev/sandbox/oe-dev/tmp/staging/i686-linux/usr/lib/classpath-initial javanet.lo java_net_VMInetAddress.lo java_net_VMNetworkInterface.lo java_net_VMURLConnection.lo gnu_java_net_VMPlainSocketImpl.lo gnu_java_net_local_LocalSocketImpl.lo ../../../native/jni/classpath/jcl.lo ../../../native/jni/native-lib/libclasspathnative.la -lmagic
| i686-linux-libtool: link: unsupported hardcode properties
| i686-linux-libtool: link: See the libtool documentation for more information.
| i686-linux-libtool: link: Fatal configuration error.

TIA,
ken

#1 lore raw

Hi Ken,

Quoted 11 lines · Ken Gilmer

| /bin/sh ../../../i686-linux-libtool --tag=CC --mode=link ccache gcc

(quoted diff) +0 -8
-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes
-Wno-long-long -Wstrict-prototypes -pedantic -Werror
-isystem/home/kgilmer/dev/sandbox/oe-dev/tmp/staging/i686-linux/usr/include
-Os -module -version-info 0:0:0 -no-undefined
-L/home/kgilmer/dev/sandbox/oe-dev/tmp/staging/i686-linux/usr/lib
-Wl,-rpath-link,/home/kgilmer/dev/sandbox/oe-dev/tmp/staging/i686-linux/usr/lib
-Wl,-rpath,/home/kgilmer/dev/sandbox/oe-dev/tmp/staging/i686-linux/usr/lib
-Wl,-O1 -o libjavanet.la -rpath

/home/kgilmer/dev/sandbox/oe-dev/tmp/staging/i686-linux/usr/lib/classpath-initial javanet.lo java_net_VMInetAddress.lo java_net_VMNetworkInterface.lo

Quoted 8 lines

java_net_VMURLConnection.lo gnu_java_net_VMPlainSocketImpl.lo gnu_java_net_local_LocalSocketImpl.lo ../../../native/jni/classpath/jcl.lo ../../../native/jni/native-lib/libclasspathnative.la -lmagic | i686-linux-libtool: link: unsupported hardcode properties | i686-linux-libtool: link: See the libtool documentation for more information.
| i686-linux-libtool: link: Fatal configuration error.

Recently I stepped upon this problem too and began discussing this on the libtool mailing list. We do not have a concrete solution yet but there is a workaround for now.

Edit the i686-linux-libtool file in your /home/kgilmer/dev/sandbox/oe-dev/tmp/work/i686-linux/classpath-initial-0.93/classpath-0.93

and set the variable hardcode_direct to no. It should be empty before and that is causing the problem.

Regards
Robert