-
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
Can't build dart VM with gcc 4.5 again #539
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Comments
Set owner to @lexprfuncall. |
cc @lexprfuncall. |
https://code.google.com/p/dart/source/detail?r=1716 Added Fixed label. |
DartBot
added
Type-Defect
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
labels
Nov 21, 2011
This was referenced Oct 29, 2020
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
This issue was originally filed by ief...@unipro.ru
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected output: sucessful biuld
I see:
cc1plus: warnings being treated as errors
../runtime/vm/dart_api_impl.cc: In function 'void* dart::Dart_NewExternalString8(uint8_t*, intptr_t, void*, void ()(void))':
../runtime/vm/dart_api_impl.cc:909:76: error: declaration of 'void* dart::Dart_NewExternalString8(uint8_t*, intptr_t, void*, void ()(void))' with C language linkage
../runtime/include/dart_api.h:768:25: error: conflicts with previous declaration 'void* Dart_NewExternalString8(const uint8_t*, intptr_t, void*, void ()(void))'
../runtime/vm/dart_api_impl.cc: In function 'void* dart::Dart_NewExternalString16(uint16_t*, intptr_t, void*, void ()(void))':
../runtime/vm/dart_api_impl.cc:920:77: error: declaration of 'void* dart::Dart_NewExternalString16(uint16_t*, intptr_t, void*, void ()(void))' with C language linkage
../runtime/include/dart_api.h:773:25: error: conflicts with previous declaration 'void* Dart_NewExternalString16(const uint16_t*, intptr_t, void*, void ()(void))'
../runtime/vm/dart_api_impl.cc: In function 'void* dart::Dart_NewExternalString32(uint32_t*, intptr_t, void*, void ()(void))':
../runtime/vm/dart_api_impl.cc:931:77: error: declaration of 'void* dart::Dart_NewExternalString32(uint32_t*, intptr_t, void*, void ()(void))' with C language linkage
../runtime/include/dart_api.h:778:25: error: conflicts with previous declaration 'void* Dart_NewExternalString32(const uint32_t*, intptr_t, void*, void ()(void))'
make: *** [out/Debug_ia32/obj.target/libdart_api/runtime/vm/dart_api_impl.o] Error 1
make: *** Waiting for unfinished jobs....
make -j 6 BUILDTYPE=Debug_ia32 all
BUILD FAILED
What version of the product are you using? On what operating system?
Ubuntu 11.04, gcc 4.5
Please provide any additional information below.
It looks like the build was broken at r1679
See diff:
dart_api.h
http://code.google.com/p/dart/source/diff?spec=svn1691&r=1679&format=side&path=/branches/bleeding_edge/dart/runtime/include/dart_api.h&old_path=/branches/bleeding_edge/dart/runtime/include/dart_api.h&old=1635
dart_api_impl.cc
http://code.google.com/p/dart/source/diff?spec=svn1691&r=1679&format=side&path=/branches/bleeding_edge/dart/runtime/vm/dart_api_impl.cc&old_path=/branches/bleeding_edge/dart/runtime/vm/dart_api_impl.cc&old=1643
Apparently, const qualifiers before "uintXX_t* codepoints" are missing in
Dart_NewExternalString8
Dart_NewExternalString16
Dart_NewExternalString32
definitions in dart_api_impl.cc
The text was updated successfully, but these errors were encountered: