Giter VIP home page Giter VIP logo

Comments (9)

tpaviot avatar tpaviot commented on August 18, 2024

Yes it is! Can you paste the output from gcc -v?

from oce.

jf--- avatar jf--- commented on August 18, 2024

Yes it is! Can you paste the output from gcc -v?

let me download & install the new Xcode...

from oce.

jf--- avatar jf--- commented on August 18, 2024

jelle_laptop:~ localadmin$ gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with:
/private/var/tmp/llvmgcc42/llvmgcc42-2335.1525/src/configure
--disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2
--mandir=/share/man --enable-languages=c,objc,c++,obj-c++
--program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin11
--enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15
25/dst-llvmCore/Developer/usr/local
--program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11
--target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
jelle_laptop:~ localadmin$

from oce.

dbarbier avatar dbarbier commented on August 18, 2024

Successfully tested on Linux. It emits less warnings than GCC, I will focus on fixing these ones first.

from oce.

jf--- avatar jf--- commented on August 18, 2024

Successfully tested on Linux. It emits less warnings than GCC, I will
focus on fixing these ones first.

?! that was amazingly quick!
Thanks for sharing that result...

from oce.

dbarbier avatar dbarbier commented on August 18, 2024

Update: it worked on an amd64 box, but fails now on x86

Linking CXX shared library Unix/i686-Release-32/libTKService.so
/usr/bin/ld: CMakeFiles/TKService.dir/__/__/__/src/PlotMgt/PlotMgt_fillpolyarc.cxx.o: relocation R_386_GOTOFF against undefined symbol `sin@@GLIBC_2.0' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [adm/cmake/TKService/Unix/i686-Release-32/libTKService.so.0.0.0] Erreur 1
make[1]: *** [adm/cmake/TKService/CMakeFiles/TKService.dir/all] Erreur 2

Systems are quite different, so this may not be due to different architectures.

from oce.

dbarbier avatar dbarbier commented on August 18, 2024

This is a clang bug on x86, see
http://llvm.org/bugs/show_bug.cgi?id=10022

from oce.

dbarbier avatar dbarbier commented on August 18, 2024

Fortunately there is a trivial workaround, fix committed at b710256. I am closing this issue, please file a new one if there are problems with clang support.
Thanks for your suggestion.

from oce.

jf--- avatar jf--- commented on August 18, 2024

Amazing work Denis, wonderful to see this realized so lightning fast!

from oce.

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.