Moving to build-dev as build-infra-dev is effectively obsolete now.
The official gcc toolset is version 4.3 as I recall but as FreeBSD is
not one of Oracle's supported platforms that might not mean much.
Hopefully a fellow FreeBSD'er can assist but I'd certainly suggest
updating your toolset (but not too much as you'll then run into a
different set of problems!).
Cheers,
David
On 8/08/2013 9:00 AM, Henry Jen wrote:
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