Regarding the asm directive, I just commected that out (yes, that´s very quick and dirty - I just wanted to have a build quick while knowing that I potentially broke something). When there is no equivalent in <sys/atomic.h>, one would have to extend that with processor specific assembly (ldrex/strex on ARM or something like that - I really haven´t looked into that). 2015-02-19 11:11 GMT+01:00 LECOQ Vincent <vincent.lecoq@xxxxxxxxx>: > Hello Stephan, > > I react on you try on RaspberryPi, when I try the same on Raspbian the > compilation fail on an asm directive (due to a cmpxchng usage ...) how can > you baypass that ? have I miss something ? > > Thanks > > 2015-02-19 8:38 GMT+01:00 Stephan <stephanwib@xxxxxxxxxxxxxx>: >> >> Small update - I tried 2 things yesterday on 2 systems I had at hand: >> >> -I tested on a NetBSD 6.0 amd64 box with a local X server and SDL >> backend - that showed the very same symptoms as I saw before. >> >> -And on a Raspberry Pi with NetBSD 7.99 (current) arm - also with the >> same issues. I tried both SDL rendering on X as well as on the console >> (wscons). Good news there is that gdb is working as expected, so I >> will be able to debug this further. >> > > > > -- > LECOQ Vincent > vincent.lecoq@xxxxxxxxx > «La faculté de citer est un substitut commode à l'intelligence» — Sommerset > Maugham > «L'ennui avec les citations sur Internet c'est qu'il est difficile de savoir > si elles sont authentiques.» — Napoléon Bonaparte.