Coder Social home page Coder Social logo

Comments (7)

tpoechtrager avatar tpoechtrager commented on July 22, 2024

Hi,

I think there are some relevant parts missing in your log, because I can't find an error.

Please post the whole log. A simply way on Ubuntu would be:

$ sudo apt-get install pastebinit

$ SDK_VERSION=10.10 OCDEBUG=1 ./build.sh &>build.log
[press enter once to start building - even though you don't see any output]

$ pastebinit -i build.log

from osxcross.

vineetpant avatar vineetpant commented on July 22, 2024

Hi ,
Thanks for your response , please find the whole build log at following link -

http://paste.ubuntu.com/9504001/

Thank you

from osxcross.

tpoechtrager avatar tpoechtrager commented on July 22, 2024

What does clang --version print?

I think you are using a pre-release clang/llvm version from http://llvm.org/apt, right?

They are known to be broken and to have horrible bugs.

Try clang-3.4:

deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main
deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main

add symlinks after installing:

sudo ln -sf `which clang-3.4` /usr/bin/clang
sudo ln -sf `which clang++-3.4` /usr/bin/clang++

from osxcross.

vineetpant avatar vineetpant commented on July 22, 2024

Hi ,
You are right i have cland 3.2 installed. Please find the output below -

Ubuntu clang version 3.2-1exp9ubuntu1precise1 (tags/RELEASE_32/final) (based on LLVM 3.2)
Target: x86_64-pc-linux-gnu
Thread model: posix

Thanks,

from osxcross.

tpoechtrager avatar tpoechtrager commented on July 22, 2024

Where did you install clang-3.2 from? Precise doesn't have 3.2 in its repos nor does llvm.org/apt.

BTW: I am able to build cctools and ld64 with clang-3.2, but I have built my clang 3.2 from the vanilla sources.

I have no clue what the debian/ubuntu maintainer is doing there, but at least 50% of his llvm/clang packages have horrible bugs.

However, try clang-3.4 like described before.

from osxcross.

vineetpant avatar vineetpant commented on July 22, 2024

Hi ,
Thank you , You were right it was not compiling due to wrong version of clang. I might have installed it from somewhere .

Thanks & Regards,
Vineet Pant

from osxcross.

tpoechtrager avatar tpoechtrager commented on July 22, 2024

You are welcome.

from osxcross.

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.