Assembler error on FreeBSD 9.1, toolchain problem?

Henry Jen henry.jen at oracle.com
Wed Aug 7 16:00:04 PDT 2013


Hi,

I tried to build OpenJDK 8 on my FreeBSD box, and encounter assembler error like following. Complete build.log and config.log are attached.

Looks to me it probably a toolchain/environment issue, but I have no idea on what went wrong. The version of tools on the machine are

$ gcc --version
gcc (GCC) 4.2.1 20070831 patched [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ as --version
GNU assembler 2.17.50 [FreeBSD] 2007-07-03
Copyright 2007 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.
This assembler was configured for a target of `x86_64-unknown-freebsd'.

Is there a minimum version requirement of toolchain? Any one saw this before?

Cheers,
Henry

Assembling /home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s: Assembler messages:
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:39: Error: junk at end of line, first unrecognized character is `('
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:40: Error: junk at end of line, first unrecognized character is `('
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:41: Error: junk at end of line, first unrecognized character is `('
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:42: Error: junk at end of line, first unrecognized character is `('
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:43: Error: junk at end of line, first unrecognized character is `('
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:44: Error: junk at end of line, first unrecognized character is `('
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:45: Error: junk at end of line, first unrecognized character is `('
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:49: Error: junk at end of line, first unrecognized character is `('
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:51: Error: invalid character '_' in mnemonic
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:52: Error: invalid character '(' in mnemonic
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:66: Error: invalid character '_' in mnemonic
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:67: Error: invalid character '(' in mnemonic
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:168: Error: invalid character '_' in mnemonic
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:169: Error: invalid character '_' in mnemonic
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:170: Error: invalid character '(' in mnemonic
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:171: Error: invalid character '(' in mnemonic
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:258: Error: invalid character '_' in mnemonic
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:259: Error: invalid character '_' in mnemonic
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:260: Error: invalid character '(' in mnemonic
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:261: Error: invalid character '(' in mnemonic
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:337: Error: invalid character '_' in mnemonic
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:338: Error: invalid character '_' in mnemonic
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:339: Error: invalid character '(' in mnemonic
/home/henryjen/ws/lambda/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_64.s:340: Error: invalid character '(' in mnemonic
gmake[6]: *** [bsd_x86_64.o] Error 1
gmake[5]: *** [the_vm] Error 2
gmake[4]: *** [product] Error 2
gmake[3]: *** [generic_build2] Error 2
gmake[2]: *** [product] Error 2
gmake[1]: *** [/home/henryjen/ws/lambda/build/bsd-x86_64-normal-server-release/hotspot/_hotspot.timestamp] Error 2
 



More information about the build-infra-dev mailing list