Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
protocoder
Posts: 9
Joined: 2018-05-12 10:15

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

#1 Post by protocoder »

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

#3 Post by protocoder »

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

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

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

#4 Post by stevepusser »

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
MX Linux packager and developer

protocoder
Posts: 9
Joined: 2018-05-12 10:15

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

#5 Post by protocoder »

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

#6 Post by protocoder »

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

#7 Post by protocoder »

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.

Post Reply