-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Failure for standalone VM #8
Comments
This comment was originally written by e.schneller...@qpoc.de Get the same error on Ubuntu 10.4 x64. greetings, |
This comment was originally written by waq...@gmail.com same here, arch linux, gcc version 4.6.1 20110819 (prerelease) Removing "-Werror" from all *.mk files prevents this warning from being escalated to an error and allowed me to compile successfully. |
This comment was originally written by zundel@google.com Issue #9 has been merged into this issue. |
This comment was originally written by waq...@gmail.com Now that Issue #9 has been merged into this one, here are the other warnings (errors due to -Werror): third_party/v8/src/ia32/full-codegen-ia32.cc: In member function ‘virtual void v8::internal::FullCodeGenerator::VisitCompareOperation(v8::internal::CompareOperation*)’: |
This comment was originally written by nelson....@gmail.com Isn't this a duplicate of issue #3 ? |
This comment was originally written by me.swa...@gmail.com Yes, I agree, this issue should be merged to issue #3. |
This comment was originally written by zundel@google.com |
See: b/374689139. https://dart-review.googlesource.com/c/sdk/+/390941 is blocking an SDK roll. Root cause: ``` Action threw an exception: type 'ConstructorMember' is not a subtype of type 'ConstructorFragment' in type cast #0 InterfaceTypeImpl.constructors2.<anonymous closure> (package:analyzer/src/dart/element/type.dart:569) #1 MappedListIterable.elementAt (dart:_internal/iterable.dart:435) #2 ListIterator.moveNext (dart:_internal/iterable.dart:364) #3 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189) #4 new _GrowableList.of (dart:core-patch/growable_array.dart:150) #5 new List.of (dart:core-patch/array_patch.dart:39) #6 ListIterable.toList (dart:_internal/iterable.dart:224) #7 InterfaceTypeImpl.constructors2 (package:analyzer/src/dart/element/type.dart:570) #8 _Visitor._hasConstConstructorInvocation (package:linter/src/rules/prefer_const_constructors_in_immutables.dart:110) #9 _Visitor.visitConstructorDeclaration (package:linter/src/rules/prefer_const_constructors_in_immutables.dart:58) ``` To verify the fix locally: ``` solo_test_X() async { await assertNoErrorsInCode(r''' class A<T> {} '''); var A = findElement.class_('A').instantiate( typeArguments: [intType], nullabilitySuffix: NullabilitySuffix.none, ); A.constructors2; } ``` Bug: b/374689139 Change-Id: I70034d938d840dc0c3939db27e7116164e4617e9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/391483 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Phil Quitslund <pquitslund@google.com>
This issue was originally filed by me....@gmail.com
What steps will reproduce the problem?
> Follow steps to build VM mentioned at http://code.google.com/p/dart/wiki/Building#Building_the_standalone_VM
What is the expected output? What do you see instead?
Build should be success, but it fails.
What version of the product are you using? On what operating system?
Latest version.
Please provide any additional information below.
Error output:
~/dart/runtime$ ../tools/build.py --arch=ia32
make -j 1 BUILDTYPE=Debug_ia32 all
CXX(target) out/Debug_ia32/obj.target/libdart/runtime/vm/dart_api_impl.o
cc1plus: warnings being treated as errors
../runtime/vm/dart_api_impl.cc: In function ‘void* dart::Dart_CreateIsolate(void*, void*)’:
../runtime/vm/dart_api_impl.cc:38:71: error: declaration of ‘void* dart::Dart_CreateIsolate(void*, void*)’ with C language linkage
../runtime/include/dart_api.h:185:26: error: conflicts with previous declaration ‘void* Dart_CreateIsolate(const Dart_Snapshot*, void*)’
make: *** [out/Debug_ia32/obj.target/libdart/runtime/vm/dart_api_impl.o] Error 1
BUILD FAILED
Is this a known issue? or am I doing something wrong?
thanks,
swarup
The text was updated successfully, but these errors were encountered: