#886175 cross-toolchain-base-ports: Please add support for ia64

#886175#5
Date:
2018-01-02 20:57:16 UTC
From:
To:
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

#886175#10
Date:
2018-01-08 02:18:26 UTC
From:
To:
doesn't work, using gcc-7 7.2.0-19

/bin/bash ../../../src/libgcc/../mkinstalldirs .
/home/packages/cross/base/p/cross-toolchain-base-ports-16/gcc/build/./gcc/xgcc
-B/home/packages/cross/base/p/cross-to
olchain-base-ports-16/gcc/build/./gcc/ -B/usr/ia64-linux-gnu/bin/
-B/usr/ia64-linux-gnu/lib/ -isystem /usr/ia64-linux
-gnu/include -isystem /usr/ia64-linux-gnu/sys-include -isystem
/home/packages/cross/base/p/cross-toolchain-base-ports
-16/gcc/build/sys-include
--sysroot=/home/packages/cross/base/p/cross-toolchain-base-ports-16/debian/tmp.ia64
  -O2
-g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -DUSE_LIBUNWIND_EXCEPTIONS -W
-Wall -Wno-narrowing -Wwrite-strings -Wca
st-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include   -fPIC -DUSE_GAS_SYMVER
-g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector  -shared -nodefaultlibs
-Wl,--soname=libgcc_s.so.1 -Wl,--versi
on-script=libgcc.map -o ./libgcc_s.so.1.tmp -g -O2 -B./ __divdf3_s.o
__divsf3_s.o __divdi3_s.o __moddi3_s.o __udivdi3
_s.o __umoddi3_s.o __divsi3_s.o __modsi3_s.o __udivsi3_s.o __umodsi3_s.o
__save_stack_nonlocal_s.o __nonlocal_goto_s.
o __restore_stack_nonlocal_s.o __trampoline_s.o _muldi3_s.o _negdi2_s.o
_lshrdi3_s.o _ashldi3_s.o _ashrdi3_s.o _cmpdi
2_s.o _ucmpdi2_s.o _clear_cache_s.o _trampoline_s.o __main_s.o _absvsi2_s.o
_absvdi2_s.o _addvsi3_s.o _addvdi3_s.o _s
ubvsi3_s.o _subvdi3_s.o _mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o
_ctors_s.o _ffssi2_s.o _ffsdi2_s.o _clz_s
.o _clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o _ctzdi2_s.o _popcount_tab_s.o
_popcountsi2_s.o _popcountdi2_s.o _paritysi2_s.o
 _paritydi2_s.o _powisf2_s.o _powidf2_s.o _powixf2_s.o _powitf2_s.o _mulhc3_s.o
_mulsc3_s.o _muldc3_s.o _mulxc3_s.o _
multc3_s.o _divhc3_s.o _divsc3_s.o _divdc3_s.o _divxc3_s.o _divtc3_s.o
_bswapsi2_s.o _bswapdi2_s.o _clrsbsi2_s.o _clr
sbdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o _fixunsxfsi_s.o _fixsfdi_s.o
_fixdfdi_s.o _fixxfdi_s.o _fixunssfdi_s.o _fix
unsdfdi_s.o _fixunsxfdi_s.o _floatdisf_s.o _floatdidf_s.o _floatdixf_s.o
_floatundisf_s.o _floatundidf_s.o _floatundi
xf_s.o _divdi3_s.o _moddi3_s.o _divmoddi4_s.o _udivdi3_s.o _umoddi3_s.o
_udivmoddi4_s.o _udiv_w_sdiv_s.o tf-signs_s.o
 sfp-exceptions_s.o addtf3_s.o divtf3_s.o eqtf2_s.o getf2_s.o letf2_s.o
multf3_s.o negtf2_s.o subtf3_s.o unordtf2_s.o
 fixtfsi_s.o fixunstfsi_s.o floatsitf_s.o floatunsitf_s.o fixtfdi_s.o
fixunstfdi_s.o floatditf_s.o floatunditf_s.o fi
xtfti_s.o fixunstfti_s.o floattitf_s.o floatuntitf_s.o extendsftf2_s.o
extenddftf2_s.o extendxftf2_s.o trunctfsf2_s.o
 trunctfdf2_s.o trunctfxf2_s.o __divxf3_s.o _fixtfdi_s.o _fixunstfdi_s.o
_floatditf_s.o enable-execute-stack_s.o unwi
nd-sjlj_s.o unwind-c_s.o unwind-compat_s.o emutls_s.o libgcc.a -lunwind -lc &&
rm -f ./libgcc_s.so && if [ -f ./libgc
c_s.so.1 ]; then mv -f ./libgcc_s.so.1 ./libgcc_s.so.1.backup; else true; fi &&
mv ./libgcc_s.so.1.tmp ./libgcc_s.so.
1 && ln -s libgcc_s.so.1 ./libgcc_s.so
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

#886175#15
Date:
2018-01-08 02:18:26 UTC
From:
To:
doesn't work, using gcc-7 7.2.0-19

/bin/bash ../../../src/libgcc/../mkinstalldirs .
/home/packages/cross/base/p/cross-toolchain-base-ports-16/gcc/build/./gcc/xgcc
-B/home/packages/cross/base/p/cross-to
olchain-base-ports-16/gcc/build/./gcc/ -B/usr/ia64-linux-gnu/bin/
-B/usr/ia64-linux-gnu/lib/ -isystem /usr/ia64-linux
-gnu/include -isystem /usr/ia64-linux-gnu/sys-include -isystem
/home/packages/cross/base/p/cross-toolchain-base-ports
-16/gcc/build/sys-include
--sysroot=/home/packages/cross/base/p/cross-toolchain-base-ports-16/debian/tmp.ia64
  -O2
-g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -DUSE_LIBUNWIND_EXCEPTIONS -W
-Wall -Wno-narrowing -Wwrite-strings -Wca
st-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include   -fPIC -DUSE_GAS_SYMVER
-g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector  -shared -nodefaultlibs
-Wl,--soname=libgcc_s.so.1 -Wl,--versi
on-script=libgcc.map -o ./libgcc_s.so.1.tmp -g -O2 -B./ __divdf3_s.o
__divsf3_s.o __divdi3_s.o __moddi3_s.o __udivdi3
_s.o __umoddi3_s.o __divsi3_s.o __modsi3_s.o __udivsi3_s.o __umodsi3_s.o
__save_stack_nonlocal_s.o __nonlocal_goto_s.
o __restore_stack_nonlocal_s.o __trampoline_s.o _muldi3_s.o _negdi2_s.o
_lshrdi3_s.o _ashldi3_s.o _ashrdi3_s.o _cmpdi
2_s.o _ucmpdi2_s.o _clear_cache_s.o _trampoline_s.o __main_s.o _absvsi2_s.o
_absvdi2_s.o _addvsi3_s.o _addvdi3_s.o _s
ubvsi3_s.o _subvdi3_s.o _mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o
_ctors_s.o _ffssi2_s.o _ffsdi2_s.o _clz_s
.o _clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o _ctzdi2_s.o _popcount_tab_s.o
_popcountsi2_s.o _popcountdi2_s.o _paritysi2_s.o
 _paritydi2_s.o _powisf2_s.o _powidf2_s.o _powixf2_s.o _powitf2_s.o _mulhc3_s.o
_mulsc3_s.o _muldc3_s.o _mulxc3_s.o _
multc3_s.o _divhc3_s.o _divsc3_s.o _divdc3_s.o _divxc3_s.o _divtc3_s.o
_bswapsi2_s.o _bswapdi2_s.o _clrsbsi2_s.o _clr
sbdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o _fixunsxfsi_s.o _fixsfdi_s.o
_fixdfdi_s.o _fixxfdi_s.o _fixunssfdi_s.o _fix
unsdfdi_s.o _fixunsxfdi_s.o _floatdisf_s.o _floatdidf_s.o _floatdixf_s.o
_floatundisf_s.o _floatundidf_s.o _floatundi
xf_s.o _divdi3_s.o _moddi3_s.o _divmoddi4_s.o _udivdi3_s.o _umoddi3_s.o
_udivmoddi4_s.o _udiv_w_sdiv_s.o tf-signs_s.o
 sfp-exceptions_s.o addtf3_s.o divtf3_s.o eqtf2_s.o getf2_s.o letf2_s.o
multf3_s.o negtf2_s.o subtf3_s.o unordtf2_s.o
 fixtfsi_s.o fixunstfsi_s.o floatsitf_s.o floatunsitf_s.o fixtfdi_s.o
fixunstfdi_s.o floatditf_s.o floatunditf_s.o fi
xtfti_s.o fixunstfti_s.o floattitf_s.o floatuntitf_s.o extendsftf2_s.o
extenddftf2_s.o extendxftf2_s.o trunctfsf2_s.o
 trunctfdf2_s.o trunctfxf2_s.o __divxf3_s.o _fixtfdi_s.o _fixunstfdi_s.o
_floatditf_s.o enable-execute-stack_s.o unwi
nd-sjlj_s.o unwind-c_s.o unwind-compat_s.o emutls_s.o libgcc.a -lunwind -lc &&
rm -f ./libgcc_s.so && if [ -f ./libgc
c_s.so.1 ]; then mv -f ./libgcc_s.so.1 ./libgcc_s.so.1.backup; else true; fi &&
mv ./libgcc_s.so.1.tmp ./libgcc_s.so.
1 && ln -s libgcc_s.so.1 ./libgcc_s.so
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

#886175#20
Date:
2018-01-08 09:55:09 UTC
From:
To:
I'll have a look.

Adrian

#886175#25
Date:
2018-01-08 09:55:09 UTC
From:
To:
I'll have a look.

Adrian

#886175#28
Date:
2018-01-08 09:55:09 UTC
From:
To:
I'll have a look.

Adrian

#886175#33
Date:
2018-01-25 15:17:43 UTC
From:
To:
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

#886175#38
Date:
2018-01-25 15:17:43 UTC
From:
To:
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

#886175#41
Date:
2018-01-25 15:17:43 UTC
From:
To:
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

#886175#46
Date:
2018-01-25 15:54:07 UTC
From:
To:
[sorry if HTML; replying from my phone]

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

#886175#51
Date:
2018-01-25 15:54:07 UTC
From:
To:
[sorry if HTML; replying from my phone]

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

#886175#54
Date:
2018-01-25 15:54:07 UTC
From:
To:
[sorry if HTML; replying from my phone]

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

#886175#59
Date:
2018-01-25 16:00:18 UTC
From:
To:
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.

No, I most certainly didn't do it that way.

Adrian

#886175#64
Date:
2018-01-25 16:00:18 UTC
From:
To:
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.

No, I most certainly didn't do it that way.

Adrian

#886175#67
Date:
2018-01-25 16:00:18 UTC
From:
To:
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.

No, I most certainly didn't do it that way.

Adrian

#886175#72
Date:
2018-01-25 16:05:17 UTC
From:
To:
Maybe it needs a stage1 with --disable-libunwind-exceptions?

On Thu, Jan 25, 2018 at 11:00 AM, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:

#886175#77
Date:
2018-01-25 16:06:24 UTC
From:
To:
No, I would have remembered that, too.

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

Adrian

#886175#82
Date:
2018-01-25 16:05:17 UTC
From:
To:
Maybe it needs a stage1 with --disable-libunwind-exceptions?

On Thu, Jan 25, 2018 at 11:00 AM, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:

#886175#87
Date:
2018-01-25 16:06:24 UTC
From:
To:
No, I would have remembered that, too.

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

Adrian

#886175#90
Date:
2018-01-25 16:05:17 UTC
From:
To:
Maybe it needs a stage1 with --disable-libunwind-exceptions?

On Thu, Jan 25, 2018 at 11:00 AM, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:

#886175#93
Date:
2018-01-25 16:06:24 UTC
From:
To:
No, I would have remembered that, too.

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

Adrian

#886175#98
Date:
2024-12-31 11:41:03 UTC
From:
To:
closing, ia64 support was removed from the kernel