Giter Club home page Giter Club logo

Comments (19)

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


Also getting this. I have GCC 4.5.2 installed.

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


FYI, successful build with gcc 4.4.3

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


I'm also using GCC 4.5.2

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


Me too getting same GCC 4.5.2

gcc -v gives following error


Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/x86_64-linux-gnu --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib/x86_64-linux-gnu --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


Issue #8 has been merged into this issue.

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


Issue #9 has been merged into this issue.

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


And again, the other errors from issue #9 (using ghc 4.6.1)

third_party/v8/src/ia32/full-codegen-ia32.cc: In member function ‘virtual void v8::internal::FullCodeGenerator::VisitCompareOperation(v8::internal::CompareOperation*)’:
third_party/v8/src/ia32/full-codegen-ia32.cc:4085:12: warning: variable ‘strict’ set but not used [-Wunused-but-set-variable]
  CXX(host) out/Debug_ia32/obj.host/v8_base/third_party/v8/src/ia32/lithium-gap-resolver-ia32.o
third_party/v8/src/ia32/lithium-codegen-ia32.cc: In member function ‘void v8::internal::LCodeGen::DoLoadKeyedFastDoubleElement(v8::internal::LLoadKeyedFastDoubleElement*)’:
third_party/v8/src/ia32/lithium-codegen-ia32.cc:2235:12: warning: variable ‘elements’ set but not used [-Wunused-but-set-variable]
third_party/v8/src/ia32/lithium-codegen-ia32.cc: In member function ‘void v8::internal::LCodeGen::DoStoreKeyedFastDoubleElement(v8::internal::LStoreKeyedFastDoubleElement*)’:
third_party/v8/src/ia32/lithium-codegen-ia32.cc:3100:12: warning: variable ‘elements’ set but not used [-Wunused-but-set-variable]
third_party/v8/src/ia32/lithium-codegen-ia32.cc:3101:12: warning: variable ‘key’ set but not used [-Wunused-but-set-variable]

third_party/v8/src/ia32/full-codegen-ia32.cc: In member function ‘virtual void v8::internal::FullCodeGenerator::VisitCompareOperation(v8::internal::CompareOperation*)’:
third_party/v8/src/ia32/full-codegen-ia32.cc:4085:12: warning: variable ‘strict’ set but not used [-Wunused-but-set-variable]
  CXX(target) out/Debug_ia32/obj.target/v8_base/third_party/v8/src/ia32/lithium-gap-resolver-ia32.o
third_party/v8/src/ia32/lithium-codegen-ia32.cc: In member function ‘void v8::internal::LCodeGen::DoLoadKeyedFastDoubleElement(v8::internal::LLoadKeyedFastDoubleElement*)’:
third_party/v8/src/ia32/lithium-codegen-ia32.cc:2235:12: warning: variable ‘elements’ set but not used [-Wunused-but-set-variable]
third_party/v8/src/ia32/lithium-codegen-ia32.cc: In member function ‘void v8::internal::LCodeGen::DoStoreKeyedFastDoubleElement(v8::internal::LStoreKeyedFastDoubleElement*)’:
third_party/v8/src/ia32/lithium-codegen-ia32.cc:3100:12: warning: variable ‘elements’ set but not used [-Wunused-but-set-variable]
third_party/v8/src/ia32/lithium-codegen-ia32.cc:3101:12: warning: variable ‘key’ set but not used [-Wunused-but-set-variable]

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


Workaround: Remove -Werror from dart/tools/gyp/configurations_make.gypi.

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


Using comment 8 workaround was able to build dart on 11.04 x32 gcc 4.5.2

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


With r321, it compiles fine with GCC 4.6.1.

from sdk.

madsager avatar madsager commented on May 13, 2024

Issue #46 has been merged into this issue.

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


latest revision r322 compiles fine with Ubuntu 11.04, GCC 4.5.2

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


Set owner to [email protected].
Added Accepted label.

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


Passing the buck to the VM team.


Set owner to @iposva-google.

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


Issue #52 has been merged into this issue.

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


r329 also compiles fine with Ubuntu 11.04, gcc 4.5.2

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


in r330, the "conflicts with previous declaration"-type errors are gone, however the "variable ‘X’ set but not used"-errors still occur with gcc 4.6.1 (prerelease on arch linux)

from sdk.

iposva-google avatar iposva-google commented on May 13, 2024

Fixed in https://code.google.com/p/dart/source/detail?r=321 which should be merged to trunk shortly.


Set owner to @a-siva.
Added Fixed label.

from sdk.

DartBot avatar DartBot commented on May 13, 2024

This comment was originally written by [email protected]


Could you revoke the classification of issue #9 as a duplicate, then? Issue #9 has been merged into this issue here, and it has not been fixed.

from sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.