Giter VIP home page Giter VIP logo

Comments (5)

rizsotto avatar rizsotto commented on July 29, 2024

hi @vguerra ,

thanks for the report. i did looked into the pastebin outputs. (can't reproduce those on my machine) it looks to me that you got compiler wrappers installed and used on your computer.

g++ is calling /Applications/Xcode.app/Contents/Developer/usr/bin/g++ which is calling /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++. and cc is calling /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang.

are these files (execpt the clang instances) wrappers? can you also show it somehow to me?

bear is already filtering compilers. you could take a look at the bear.conf file. (currently it allows those well known compiler names from any location.) maybe you should replace those with something like /usr/bin/clang(\\+\\+)$.

ps.: did you try to install bear from homebrew?

from bear.

vguerra avatar vguerra commented on July 29, 2024

thank you for the quick response!

Unfortunately g++ and cc are binaries as well. But dtruss showed that effectively those are simply wrappers to /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang respectively.

Yeah.. I spotted that bear.conf file, I'll try to add the corresponding entries in order to filter out the wrappers.

No.. I cloned the repo and built it my self. Should I try to install from homebrew?

Thanks again @rizsotto.

from bear.

rizsotto avatar rizsotto commented on July 29, 2024

okay, so i could read the log properly. ;) please let me know if i can help you more. now i would close this ticket, but can reopen if we need to change on Bear.

about homebrew, i just wanted to know how it behaves in your environment. probably needs the config adjustment as well, but maybe the building process also behaves funny.

from bear.

vguerra avatar vguerra commented on July 29, 2024

Sorry I didn't comment earlier.

I just wanted to confirm that modifying the compilers accepted from the bear.conf file allowed me to run the tests with out errors. I basically removed the regular expressions that would match the clang* compilers.

from bear.

rizsotto avatar rizsotto commented on July 29, 2024

no problem, and thank you for the report. i added your finding into the readme file yesterday. hope it will help others as well.

from bear.

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.