Build failure on Mac "javac: invalid flag"
Jonathan Gibbons
jonathan.gibbons at oracle.com
Fri Nov 16 15:11:07 PST 2012
Maybe indicative of the wrong compiler being used.
-- Jon
On 11/16/2012 01:36 PM, Mike Duigou wrote:
> Very odd.
>
> Do you see the auxiliary class warnings?
>
> Mike
>
> On Nov 16 2012, at 01:40 , Paul Sandoz wrote:
>
>> Hi,
>>
>> For some reason the following change to jdk/makefiles/Setup.gmk results in a build failure:
>>
>> http://hg.openjdk.java.net/lambda/lambda/jdk/diff/a4c10f71e673/makefiles/Setup.gmk
>>
>> Generating headers for jdk base classes
>> Compiling 886 files for BUILD_JOBJC_JAR
>> Compiling 886 files for BUILD_JOBJC_HEADERS_JAR
>> javac: invalid flag: -Xlint:all,-deprecation,-unchecked,-rawtypes,-cast,-serial,-dep-ann,-static,-fallthrough,-try,-varargs,-empty,-finally,-auxiliaryclass
>> Usage: javac <options> <source files>
>> use -help for a list of possible options
>> make[2]: *** [/Users/sandoz/Projects/jdk8/lambda/build/macosx-x86_64-normal-server-release/jdk/jobjc_classes/_the.batch] Error 2
>>
>> Reverting the change fixed the problem for me.
>>
>> Paul.
>>
>
More information about the lambda-dev
mailing list