[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#915194: valgrind log



Helmut Grohne <helmut@subdivi.de> 于2018年12月3日周一 上午3:22写道:
>
> On Mon, Dec 03, 2018 at 01:30:43AM +0800, YunQiang Su wrote:
> > YunQiang Su <syq@debian.org> 于2018年12月2日周日 下午11:42写道:
> > >
> > > Matthias Klose <doko@debian.org> 于2018年12月2日周日 下午4:51写道:
> > > >
> > > > On 02.12.18 09:31, Aron Xu wrote:
> > > > > Running with Valgrind shows some errors:
> > > >
> > > > that might point to the gcc-search-prefixed-as-ld patch.
> >
> > yes. with gcc-search-prefixed-as-ld patch removed, it works now.
>
> The patch is necessary for making gcc-for-host happen. It is the second
> attempt at solving that part of the problem and I don't particularly
> like the patch (though my previous attempt broke something else).
>
> I think there is yet another way of solving that part without patching
> gcc at all: Supplying /usr/lib/gcc/<triplet>/<version>/{as,ld} as
> symlinks pointing to the triplet-prefixed binutils should be sufficient.
> Not having to add another patch should help reduce the maintenance cost.
>

yes. it is enough for us.

> Given that gcc-for-host is not a thing yet and that there still are
> alternative approaches, I'm in favour of just reverting that patch with
> no replacement now to unblock your work.

The problem left is about why this patch broken some machine only?
for example amd64+avx?

I tested on an non-avx machine, it works well.
Aron test it will qemu emulate any hardware(avx and non-avx), all of
them work well.

Do you have any old machines, which can get a test?

>
> Helmut


Reply to: