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

Bug#421423: gcc-4.1: FTBFS on GNU/kFreeBSD



On Sun, Apr 29, 2007 at 01:54:58PM +0200, Aurelien Jarno wrote:
> On Sun, Apr 29, 2007 at 12:03:11AM +0200, Aurelien Jarno wrote:
> > Package: gcc-4.1
> > Version: 4.1.2-4
> > Severity: important
> > 
> > Please find below an update of the patch for GNU/kFreeBSD, which fixes a
> > few things:
> > - fix the kbsd-gnu.dpatch wrt hash-style. Please DON'T APPLY this patch
> >   if you reenable hash-style=both in the next upload
> > - fix a small typo in debian/multiarch.inc which make the build fails 
> >   on kfreebsd-amd64
> > - fix the detection of stackguard detection in the GNU libc for non
> >   Linux architectures. It should also work for Hurd if/when the GNU libc
> >   support stackguard on this architecture (I haven't checked yet).
> 
> It looks like the patch to multiarch.inc has been lost. Also Thomas 
> Schwinge told me on IRC that stackguard does not work on Hurd, so the
> stackguard detection have to be changed.
> 
> Please find a patch against the current SVN below.
> 
> Also is it normal that gcc-hash-style-both.dpatch is still disabled in
> the current SVN?
> 

In the current SVN, it looks like gcc-hash-style-gnu.dpatch is used
instead. Could you therefore apply the following patch to keep
kbsd-gnu.dpatch in sync?

Index: kbsd-gnu.dpatch
===================================================================
--- kbsd-gnu.dpatch	(révision 1912)
+++ kbsd-gnu.dpatch	(copie de travail)
@@ -79,8 +79,8 @@
 +  { "dynamic_linker64", DYNAMIC_LINKER64 }
 +
  #undef	LINK_SPEC
--#define LINK_SPEC "%{!m32:-m elf_x86_64} %{m32:-m elf_i386} --hash-style=both \
-+#define LINK_SPEC "%{!m32:-m %(link_emulation64)} %{m32:-m %(link_emulation)} --hash-style=both \
+-#define LINK_SPEC "%{!m32:-m elf_x86_64} %{m32:-m elf_i386} --hash-style=gnu \
++#define LINK_SPEC "%{!m32:-m %(link_emulation64)} %{m32:-m %(link_emulation)} --hash-style=gnu \
    %{shared:-shared} \
    %{!shared: \
      %{!static: \


-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: