[Cross-toolchain-base-devs] Bug#886175: cross-toolchain-base-ports: Please add support for ia64

2018-03-12 Thread Jason Duerstock
Maybe it needs a stage1 with --disable-libunwind-exceptions?

On Thu, Jan 25, 2018 at 11:00 AM, John Paul Adrian Glaubitz
 wrote:
> On 01/25/2018 04:54 PM, James Clarke wrote:
>>>
>>> I *think* this is because libunwind-dev has to be [ia64] as well in
>>> debian/control.source.in, but I am not 100% sure yet. Testing now.
>>
>>
>> Well, if it didn’t work without [ia64], it won’t work with.
>
>
> It currently has [amd64 i386 x32]. My original patch didn't have this
> limitation. But it still doesn't work anyway which drives me nuts, it
> did work here and I still have the build log and packages built.
>
> I might have used the internal libunwind for gcc.
>
>> The problem is you need the target’s libunwind-dev, so
>> cross-toolchain-base-ports needs to build it itself, I assume, if the target
>> is ia64.
>
>
> No, I most certainly didn't do it that way.
>
>
> Adrian
>
> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaub...@debian.org
> `. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
>   `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>

-- 
Mailing list: https://launchpad.net/~cross-toolchain-base-devs
Post to : cross-toolchain-base-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cross-toolchain-base-devs
More help   : https://help.launchpad.net/ListHelp


[Cross-toolchain-base-devs] Bug#886175: cross-toolchain-base-ports: Please add support for ia64

2018-03-12 Thread James Clarke
[sorry if HTML; replying from my phone]

> On 25 Jan 2018, at 15:17, John Paul Adrian Glaubitz 
>  wrote:
> 
>> On 01/08/2018 03:18 AM, Matthias Klose wrote:
>> Control: tags -1 - patch
>> doesn't work, using gcc-7 7.2.0-19
>> (...)
>> ia64-linux-gnu-ld.bfd.exe: cannot find -lunwind
>> collect2: error: ld returned 1 exit status
>> Makefile:977: recipe for target 'libgcc_s.so' failed
>> make[5]: *** [libgcc_s.so] Error 1
> 
> I *think* this is because libunwind-dev has to be [ia64] as well in
> debian/control.source.in, but I am not 100% sure yet. Testing now.

Well, if it didn’t work without [ia64], it won’t work with.

The problem is you need the target’s libunwind-dev, so 
cross-toolchain-base-ports needs to build it itself, I assume, if the target is 
ia64.

James

-- 
Mailing list: https://launchpad.net/~cross-toolchain-base-devs
Post to : cross-toolchain-base-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cross-toolchain-base-devs
More help   : https://help.launchpad.net/ListHelp


[Cross-toolchain-base-devs] Bug#886175: cross-toolchain-base-ports: Please add support for ia64

2018-03-12 Thread John Paul Adrian Glaubitz

On 01/08/2018 03:18 AM, Matthias Klose wrote:

Control: tags -1 - patch

doesn't work, using gcc-7 7.2.0-19
(...)
ia64-linux-gnu-ld.bfd.exe: cannot find -lunwind
collect2: error: ld returned 1 exit status
Makefile:977: recipe for target 'libgcc_s.so' failed
make[5]: *** [libgcc_s.so] Error 1


I *think* this is because libunwind-dev has to be [ia64] as well in
debian/control.source.in, but I am not 100% sure yet. Testing now.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

--
Mailing list: https://launchpad.net/~cross-toolchain-base-devs
Post to : cross-toolchain-base-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cross-toolchain-base-devs
More help   : https://help.launchpad.net/ListHelp


[Cross-toolchain-base-devs] Bug#886175: cross-toolchain-base-ports: Please add support for ia64

2018-03-12 Thread John Paul Adrian Glaubitz

On 01/25/2018 05:05 PM, Jason Duerstock wrote:

Maybe it needs a stage1 with --disable-libunwind-exceptions?

No, I would have remembered that, too.

I am checking now whether any part of the ia64 patches for cross-gcc
are missing.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

--
Mailing list: https://launchpad.net/~cross-toolchain-base-devs
Post to : cross-toolchain-base-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cross-toolchain-base-devs
More help   : https://help.launchpad.net/ListHelp


[Cross-toolchain-base-devs] Bug#886175: cross-toolchain-base-ports: Please add support for ia64

2018-03-12 Thread John Paul Adrian Glaubitz
Source: cross-toolchain-base-ports
Version: 2.25-3cross1
Severity: normal
Tags: patch
User: debian-i...@lists.debian.org
Usertags: ia64

Hi!

In order to support the efforts for rebootstrapping Debian for
ia64, it will be incredibly useful to have cross-compilers for
ia64 available.

In order to be able to add ia64 to gcc-7-cross-ports, it needs
to be added in cross-toolchain-base-ports first which is what
this bug reporting is asking :).

Please apply the attached patch and re-run "debian/rules control".

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
diff -Nru old/cross-toolchain-base-ports-15/debian/control.source.in 
new/cross-toolchain-base-ports-15/debian/control.source.in
--- old/cross-toolchain-base-ports-15/debian/control.source.in  2017-12-07 
07:56:54.0 +0100
+++ new/cross-toolchain-base-ports-15/debian/control.source.in  2018-01-02 
21:52:17.524646899 +0100
@@ -23,4 +23,4 @@
   sed (>= 4.0.5-4), sharutils, tar (>= 1.22), xz-utils,
   asciidoc, texinfo, cpio, python3,
   libconfig-auto-perl, libfile-temp-perl, libconfig-auto-perl,
-  libfile-homedir-perl, liblocale-gettext-perl
+  libfile-homedir-perl, liblocale-gettext-perl, libunwind-dev
diff -Nru old/cross-toolchain-base-ports-15/debian/kernelarch.make 
new/cross-toolchain-base-ports-15/debian/kernelarch.make
--- old/cross-toolchain-base-ports-15/debian/kernelarch.make2017-11-13 
10:29:09.0 +0100
+++ new/cross-toolchain-base-ports-15/debian/kernelarch.make2018-01-02 
21:51:21.889088332 +0100
@@ -11,6 +11,7 @@
 KERNEL_ARCH_armel:=arm
 KERNEL_ARCH_m68k:=m68k
 KERNEL_ARCH_hppa:=parisc
+KERNEL_ARCH_ia64:=ia64
 KERNEL_ARCH_mips:=mips
 KERNEL_ARCH_mipsel:=mips
 KERNEL_ARCH_mipsn32:=mips
diff -Nru old/cross-toolchain-base-ports-15/debian/rules 
new/cross-toolchain-base-ports-15/debian/rules
--- old/cross-toolchain-base-ports-15/debian/rules  2017-12-06 
12:38:24.0 +0100
+++ new/cross-toolchain-base-ports-15/debian/rules  2018-01-02 
21:51:35.440980824 +0100
@@ -35,7 +35,7 @@
   CROSS_ARCHS  ?= s390x ppc64el arm64 armhf armel \
$(if $(filter $(vendor), Ubuntu),, mips mipsel mips64el)
 else
-  CROSS_ARCHS  ?= alpha hppa m68k mips64 powerpc ppc64 sh4 sparc64 \
+  CROSS_ARCHS  ?= alpha hppa ia64 m68k mips64 powerpc ppc64 sh4 sparc64 \
$(if $(filter $(vendor), Ubuntu), mips mipsel mips64el) 
\
powerpcspe mipsn32 mipsn32el \
mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 
mips64r6el
-- 
Mailing list: https://launchpad.net/~cross-toolchain-base-devs
Post to : cross-toolchain-base-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cross-toolchain-base-devs
More help   : https://help.launchpad.net/ListHelp


[Cross-toolchain-base-devs] Bug#886175: cross-toolchain-base-ports: Please add support for ia64

2018-03-12 Thread John Paul Adrian Glaubitz

On 01/08/2018 03:18 AM, Matthias Klose wrote:

Control: tags -1 - patch

doesn't work, using gcc-7 7.2.0-19

I'll have a look.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

--
Mailing list: https://launchpad.net/~cross-toolchain-base-devs
Post to : cross-toolchain-base-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cross-toolchain-base-devs
More help   : https://help.launchpad.net/ListHelp