My latest error

Dmitry Samersoff dms at samersoff.net
Thu May 14 19:14:00 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kurt,

> If you want to avoid the problem you can add
> --disable-debug-symbols to the configure stage.

or install GNU binutils somewhere.

- -Dmitry

On 2015-05-14 21:37, Kurt Miller wrote:
> 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
> 
> 


- -- 
Dmitry Samersoff
Saint Petersburg, Russia, http://devnull.samersoff.net
* There will come soft rains  ...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJVVPP3AAoJEHEy08c4gIABcZQH+wUPJnPeSj1uN6bDoxeAdvhk
9uha1Y7FWL8H9vKQZnJ72MHqDxfzOUkJNjdkrVdk9zvLDD4OlZWQC7pkjlCgPZ1H
sKLIlWb4ys72+h9l1/5i2zWbPm8TaKoUyrl21t2Gncz1chLygLieQzIqz67t895q
qJy7q5nftpQPmYus/NMhY4YSL+bMYJUzc85+4yiWpZPWOcrXol1qtAHQFpJ5Uy/K
7cLojH+8RLFTqjtsGb7iQDogcx8lyUtbi7fc8fK6pxvwDzYptPrPoMpziJPb/z/u
fZuJLKVl6iLGvz2l5AuSaV0ONf5goNekGkcQfuly/aH8gD2b12QtYmzSflQBRg4=
=3ffQ
-----END PGP SIGNATURE-----


More information about the bsd-port-dev mailing list