[PATCH] Linux header search on Ubuntu 13.04 multiarch

Dmitri Gribenko gribozavr at gmail.com
Sun Feb 17 10:03:05 PST 2013


On Sun, Feb 17, 2013 at 5:40 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> On Fri, Feb 15, 2013 at 9:50 PM, Sanne Wouda <sanne.wouda at gmail.com> wrote:
>> Attached is a patch which fixes the problems on my system. A unittest
>> (with the directory structure attached seperately) illustrates the
>> problem and shows that it is fixed by the changes in the patch.
>>
>> If there are any comments on the patch, or if this should be fixed in
>> some different way, I will be happy to update it.
>
> Thank you for working on this!
>
> Unfortunately, this patch does not fix -m32, which breaks asan build.

BTW, you need to install g++-multilib for this.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-commits mailing list