Date: Thu, 08 Aug 2013 14:52:44 +0400 From: Dmitry Samersoff <dmitry.samersoff@oracle.com> To: Henry Jen <henry.jen@oracle.com> Cc: David Holmes <david.holmes@oracle.com>, "build-infra-dev@openjdk.java.net" <build-infra-dev@openjdk.java.net>, build-dev <build-dev@openjdk.java.net>, freebsd-java@freebsd.org Subject: Re: Assembler error on FreeBSD 9.1, toolchain problem? Message-ID: <5203787C.8030701@oracle.com> In-Reply-To: <520303AF.3050207@oracle.com> References: <C7048757-A474-4225-9ACB-B94F95EA639A@oracle.com> <520303AF.3050207@oracle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Henry, For some unknown for me reason, macros in bsd_x86_64.s is not processed. (Makefile issue???) I use: mv bsd_x86_64.s bsd_x86_64.s.pp cpp bsd_x86_64.s.pp > bsd_x86_64.s as a dirty workaround. -Dmitry (CC'in java-bsd) On 2013-08-08 06:34, David Holmes wrote: > 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 >> >> -- Dmitry Samersoff Oracle Java development team, Saint Petersburg, Russia * I would love to change the world, but they won't give me the sources.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5203787C.8030701>