public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
From: shaikh ishaque <Shaikishaque.Ibrahim@votarytech.com>
To: "libc-help@sourceware.org" <libc-help@sourceware.org>
Subject: GLIBC_BUILDING_ISSUE
Date: Mon, 14 May 2018 06:43:00 -0000	[thread overview]
Message-ID: <176099616.862414.1526280230548@mail.yahoo.com> (raw)
In-Reply-To: <176099616.862414.1526280230548.ref@mail.yahoo.com>

Hi Team,
I am building a Glibc for arm architecture on X86 machine. I followed different methods but not able to successful in generating the glibc for arm architecture. Please find the detailed steps for few methods mentioned as below.
 Method1:

sudo apt-get source glibc-source

sudo apt-get build-dep glibc-source

sudo TARGET=arm dpkg-buildpackage -us -uc -b -d -rfakeroot

OR
 
sudo TARGET=arm64 dpkg-buildpackage -us -uc -b -d -rfakeroot

After the procedure,debians got generated for X86 and i386 architecture but not for arm architecture.



Method2: 

Downloaded the cross compiler source from and followed the below procedure.
"https://dl.armbian.com/_toolchains/gcc-linaro-5.5.0-2017.10-x86_64_aarch64-linux-gnu.tar.xz"
"https://dl.armbian.com/_toolchains/gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf.tar.xz"

export ARCH=arm64
export CROSS_COMPILE=/home/systebui/Downloads/compiler/gcc-linaro-5.5.0-2017.10-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-

CROSS_COMPILE_AARCH64=/home/systebui/Downloads/compiler/gcc-linaro-5.5.0-2017.10-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-

dpkg-buildpackage -us -uc -b -d -rfakeroot

OR

sudo TARGET=arm64 dpkg-buildpackage -us -uc -b -d -rfakeroot

For arm architecture, almost same method as Method 2 followed with few changes as below.

export ARCH=arm

export CROSS_COMPILE=/home/systebui/Downloads/compiler/gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-

dpkg-buildpackage -us -uc -b -d -rfakeroot

sudo TARGET=arm dpkg-buildpackage -us -uc -b -d -rfakeroot

Even the procedure in Method2 also generated the debians for X86 and i386 architecture and debians for arm architecture is missing.

Is it a problem in the links given /etc/apt/sources.list file or any configuration is missed out. Can you help me here.


Thanks and Regards
Shaikh Ishaque





 
 

       reply	other threads:[~2018-05-14  6:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <176099616.862414.1526280230548.ref@mail.yahoo.com>
2018-05-14  6:43 ` shaikh ishaque [this message]
2018-05-14 11:24   ` GLIBC_BUILDING_ISSUE Adhemerval Zanella

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=176099616.862414.1526280230548@mail.yahoo.com \
    --to=shaikishaque.ibrahim@votarytech.com \
    --cc=libc-help@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).