[pypy-dev] cppyy fails to build on gcc 5 and clang

Ryan Gonzalez rymg19 at gmail.com
Tue Jan 17 14:02:43 EST 2017


In your Makefile, change this:

CXX=`which clang` \

to:

CXX=`which clang++` \

--
Ryan (ライアン)
Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone else
http://kirbyfan64.github.io/

On Jan 17, 2017 12:41 PM, "Tobias Oberstein" <tobias.oberstein at gmail.com>
wrote:

> Am 17.01.2017 um 19:03 schrieb Ryan Gonzalez:
>
>> What happens if you remove the `-stdlib=libc++`? Seems like that's where
>> the
>> Clang build error is coming from.
>>
>
> 1)
> removing explicit stdlib selection leads to the following linker error
>
> https://gist.github.com/oberstet/f75b9618b12b1e61289b147fcfd
> 90bc0#file-gistfile1-txt-L885
>
> makefile target was: https://github.com/oberstet/sc
> ratchbox/blob/master/cpp/capnproto/test1/Makefile#L10
>
>
> 2)
> explicitly selecting GNU c++ stdlib for clang results in
>
> https://gist.github.com/oberstet/df1f59b9ce674d8984ee5f9ce045dccb
>
> makefile target was: https://github.com/oberstet/sc
> ratchbox/blob/master/cpp/capnproto/test1/Makefile#L27
>
>
> 3)
> when using the gcc-4.9 build of cppyy, and trying the basic example (
> http://doc.pypy.org/en/latest/cppyy.html#basic-bindings-example) leads to:
>
> https://gist.github.com/oberstet/d260ee15c81954bea8298b7400d04870
>
> ---
>
> so right now I cannot get the basic example working =(
>
>
>>
>>
>> \--
>>
>> Ryan (ライアン)
>>
>> Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone else
>>
>> <http://refi64.com/>
>>
>>
>>
>> On Jan 17 2017, at 11:53 am, Tobias Oberstein <tobias.oberstein at gmail.com
>> >
>> wrote:
>>
>> Hi guys,
>>>
>>
>>
>>>
>> please see (reposting here to grab attention as hinted by Armin)
>>>
>>
>>
>>>
>> https://bitbucket.org/pypy/pypy/issues/2467/cppyy-fails-to-build-on-gcc-5
>>>
>> -and-clang
>>
>>
>>>
>> Note: for now I am fine, I managed to build it using gcc 4.9 toolchain.
>>>
>> Need to see how far I get with captnproto now ..
>>
>>
>>>
>> Cheers,
>>>
>> /Tobias
>> _______________________________________________
>> pypy-dev mailing list
>> pypy-dev at python.org
>> https://mail.python.org/mailman/listinfo/pypy-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20170117/0749e74c/attachment.html>


More information about the pypy-dev mailing list