Hi Hector,

Hector Oron wrote:
> >> During a rebuild of all packages in sid, your package failed to build on
> >> amd64.
> >
> > I can reproduce this issue with and without pbuilder on amd64 while I
> > can't reproduce it on i386.
> 
> I have only had few time to give it a pick to this bug. It seems to be
> related to the use of -pie at link time (LDFLAGS). This setting seems
> to come from ``fltk-config --ldflags'', which for amd64 gives the
> following output:
> 
> $ fltk-config --ldflags
> -L/usr/lib/x86_64-linux-gnu -fPIE -pie -Wl,-z,relro -Wl,-z,now -lfltk

Thanks for investigation.

> I just have not had the time to find out why linking with -pie is broken.

As the error message recommends, using -fPIC helps. But interestingly
not in CFLAGS but in CPPFLAGS. For now I've added it for all
architecutres, but I'm not 100% sure if it's a good idea
to solve this issue, especially if the issue could be located in some
other package.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to