[PATCH] Linux header search on Ubuntu 13.04 multiarch

Sanne Wouda sanne.wouda at gmail.com
Wed Mar 6 05:22:32 PST 2013


Hi Dmitri,

Sorry for the delay. Something else came up.

Your test case easily reproduced the problem for me, thanks. I build a unit
test for this particular case, and got it going on my system.

Attached you'll find the updated patch, as well as an updated test tree.

Thanks for testing. Please let me know if something's off. :)

Cheers.
Sanne


On 5 March 2013 19:54, Dmitri Gribenko <gribozavr at gmail.com> wrote:

> On Tue, Feb 19, 2013 at 9:29 PM, Sanne Wouda <sanne.wouda at gmail.com>
> wrote:
> > On 17 February 2013 19:03, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> >>
> >> 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.
> >
> >
> > Thanks for pointing this out. I hope to have some time at the end of the
> > week to see if I can reproduce and fix it.
>
> Hi Sanne,
>
> May I ping you about this?  Ubuntu 13.04 is coming soon, and it would
> be awesome if we supported it.
>
> 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>*/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130306/7a3e5810/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux-header-search.patch
Type: application/octet-stream
Size: 5584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130306/7a3e5810/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ubuntu_13.04_multiarch_tree.tar.gz
Type: application/x-gzip
Size: 643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130306/7a3e5810/attachment.bin>


More information about the cfe-commits mailing list