Re: mixed up LDFLAGS on amd64 buildds?

Daniel Glassey <[email protected]>
Newsgroups gmane.linux.debian.ports.amd64
Message-ID <CAAG7931ChnEXHoVTOrSQUy6Df5Bq9dFgWumM7s--hVYhKab9+A@mail.gmail.com>
On Sat, Jun 2, 2012 at 6:44 AM, Kurt Roeckx <[email protected]> wrote:
> On Fri, Jun 01, 2012 at 04:19:30PM +0700, Daniel Glassey wrote:
>> My package grcompiler version 4.2~pre5 is failing to build on the
>> amd64 buildd brahms and now barber as well.
>>
>> It looks from here like LDFLAGS is being set to -fPIE -pie
>> -Wl,-z,relro -Wl,-z,now on the build machine unconditionally and isn't
>> coming from dpkg-buildflags. I can't replicate that on a porterbox.
>
> We do not set anything special on the buildds.  We clearly don't
> default to enabling pie.  But it looks like it's CFLAGS / LDFLAGS
> from a invokation of dpkg-buildflags with different
> DEB_BUILD_MAINT_OPTIONS
>
> The only thing we might set up in DEB_BUILD_MAINT_OPTIONS is a
> parallel option.

Thanks Kurt. I've worked it out now and it is a package problem not
buildd. libicu-dev was leaking the -fPIE flags into `icu-config
--ldflags`. Already fixed in libicu, and pending in grcompiler.

Thanks,
Daniel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.