My latest error
Kurt Miller
kurt at intricatesoftware.com
Thu May 14 18:37:12 UTC 2015
On Thu, 2015-05-14 at 14:07 -0400, Bryan C. Everly wrote:
> So after making the changes described in my previous email (the diffs
> to get the build environment working by default for OpenBSD 5.7), I'm
> hitting this error.
>
>
> /usr/bin/objcopy: libinstrument.debuginfo: Invalid operation
> lib/ServiceabilityLibraries.gmk:249: recipe for target
> '/home/bceverly/work/jdk8/build/bsd-x86_64-normal-server-release/jdk/objs/libinstrument/libinstrument.debuginfo' failed
> gmake[2]: ***
> [/home/bceverly/work/jdk8/build/bsd-x86_64-normal-server-release/jdk/objs/libinstrument/libinstrument.debuginfo] Error 1
> BuildJdk.gmk:70: recipe for target 'libs-only' failed
> gmake[1]: *** [libs-only] Error 2
> /home/bceverly/work/jdk8//make/Main.gmk:119: recipe for target
> 'jdk-only' failed
> gmake: *** [jdk-only] Error 2
>
>
> It looks like something is bombing out trying to strip debug symbols.
> The creepy thing is that if I restart the build from this point it
> actually gets farther but I'd prefer to solve this problem and not
> kludge around it.
>
>
> Can someone please point me in the right direction so I can keep
> moving?
Hi Bryan,
I hit this too and was looking into it. There's something not right with
the ojbcopy recipe that separates debug info into its own file, strips
debug info from the original file and tags the original with
--add-gnu-debuglink.
If you want to avoid the problem you can add --disable-debug-symbols to
the configure stage.
-Kurt
More information about the bsd-port-dev
mailing list