Debian Tool chain Development for ARM 32/64 on Ububtu PC

News and discussion about development of the Debian OS itself

Debian Tool chain Development for ARM 32/64 on Ububtu PC

Postby protocoder » 2018-05-12 10:25

Hello Experts

My work environment is Ubuntu 16.0.4
I need reference and links to build and develop from scratch Debian toolchain tools (glibc,binutils,gcc and gdb) meant for ARM 32 and ARM 64.

I am very new and I get lot of compilation and linking issues when building glibc and gcc. Please can you give me the stable latest build source, I must fetch the package and build it. Your help is appreciated. I see that my packages from i386/amd are being fetched causing issues. Any reference to do this easy way will help me.

Thanks in advance
Protocoder
protocoder
 
Posts: 9
Joined: 2018-05-12 10:15


Re: Debian Tool chain Development for ARM 32/64 on Ububtu PC

Postby protocoder » 2018-05-12 16:44

Dear arochester

Thank you. But my requirement is to use only Debian based tool chain on Ubuntu PC. Please confirm to me that the link you sent me is specific to Ubuntu toolchain right.

Thanks in Advance
Protocoder
protocoder
 
Posts: 9
Joined: 2018-05-12 10:15

Re: Debian Tool chain Development for ARM 32/64 on Ububtu PC

Postby stevepusser » 2018-05-12 18:23

Why not use pbuilder to set up a Debian build environment for those architectures?

https://jodal.no/2015/03/08/building-ar ... -pbuilder/

That way, the toolchain is already ready to go.

Or you can also build armv71 and aarch64 packages in the cloud in the openSUSE build service, which is free for everyone to use. Example of one of mine: https://build.opensuse.org/package/show ... /azpainter
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.6, Pale Moon 28.1.0, wine-staging 3.16, qBittorrent 4.1.3, Linux kernel 4.18.8, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9901
Joined: 2009-10-06 05:53

Re: Debian Tool chain Development for ARM 32/64 on Ububtu PC

Postby protocoder » 2018-05-14 09:21

Dear Experts

sorry, I am totally new and I am not sure what mistakes, I am doing

What we did till now:
1. We used debian architecture name and pointed arm package to abel.debian.org / amdahl.debian.org
2. autotools-dev package to ensure latest config.sub and config.guess files
3. The debian name for the architecture is arm64; and NOT have aarch64-linux-gnu.
4. GCC defines __aarch64__ for the architecture.
Still we get lot of errors

For pbuilder
We followed: https://wiki.debian.org/PbuilderTricks, created directories etc and followed https://jodal.no/2015/03/08/building-ar ... -pbuilder/ as mentioned, but we still get errors.

We tried with pbuilder as well, ensuring target board is hikey and for arm machine, we get errors in pbuilder as well

For some reason, not able to attach error scren shots. Please can you help me

Thanks in Advance
protocoder
 
Posts: 9
Joined: 2018-05-12 10:15

Re: Debian Tool chain Development for ARM 32/64 on Ububtu PC

Postby protocoder » 2018-05-14 17:44

Dear experts

Please can you help me point to the references, where I can know the following

1. Understand the flags to set for cross compiling ex: The debian name for the architecture is arm64 and aarch64-linux-gnu is not debian, the Linaro AbE equivalent is aarch64
2. Debian stable releases for ARM .. any guide, I can use for mirrorsites, backports, Debootstrapopts etc

I am getting continuous errors whatever combinations I try as trial and error.

Thanks in Advance
protocoder
 
Posts: 9
Joined: 2018-05-12 10:15

Re: Debian Tool chain Development for ARM 32/64 on Ububtu PC

Postby protocoder » 2018-05-15 17:34

Dear experts

Host system: Ubuntu 16.0.4 32 bit
Target system: Hikey ARM 64 bit and
Native 32 bit

Please can you help me find me the stable Debian distributions, versions and mirror sites, debconf etc to create .debs for gcc, binutils, gdb and glibc ..
We got it right for binutils but glibc is causing issues.

We followed https://wiki.debian.org/Arm64Port & ensured we point to ARM64 nomenclature.

glibc is causing lots of issues. Any ready help would be appreciated

Note: I must deliver .deb files built locally.
protocoder
 
Posts: 9
Joined: 2018-05-12 10:15


Return to Debian Development

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable