From: Ivan Kuten <ivan.kuten@promwad.com>
To: buildroot@busybox.net
Subject: [Buildroot] [buildroot 0001542]: arm gcc-4.1.2 + oabi + soft floats fails to build
Date: Fri, 19 Oct 2007 21:37:40 +0300 [thread overview]
Message-ID: <4718F974.3010404@promwad.com> (raw)
In-Reply-To: <90e28420e271f11d8ba34a6bf88df8e2@bugs.uclibc.org>
> Summary: arm gcc-4.1.2 + oabi + soft floats fails to build
> Description:
> gcc 4.1.2 fails to build for OABI with soft floats enabled, with references
> to missing float functions.
>
> The patch I supplied for gcc-4.2.1 works as-is for 4.1.2 also.
> So copying toolchain/gcc/4.2.1/910-soft-float.patch to toolchain/gcc/4.1.2
> will fix this.
>
Hi Hamish,
I tried to apply your patch 910-soft-float.patch
BR2_ARM_TYPE="ARM920T"
BR2_ARM_OABI=y
# BR2_ARM_EABI is not set
BR2_ARCH="arm"
..
BR2_GCC_VERSION_4_1_2=y
..
BR2_GCC_VERSION="4.1.2"
BR2_SOFT_FLOAT=y
It compiled successfully but
readelf -h build_arm/staging_dir/lib/libuClibc-0.9.29.so
ELF Header:
Magic: 7f 45 4c 46 01 01 01 61 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: ARM
ABI Version: 0
Type: DYN (Shared object file)
Machine: ARM
Version: 0x1
Entry point address: 0xa520
Start of program headers: 52 (bytes into file)
Start of section headers: 525932 (bytes into file)
Flags: 0x202, has entry point, GNU EABI, software FP
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 6
Size of section headers: 40 (bytes)
Number of section headers: 23
Section header string table index: 22
Seems I get anyway EABI not OABI. Can you confirm this?
seems like "arm gcc-4.1.2 + oabi + soft floats fails to build"
should be treated as "arm gcc-4.1.2 + EABI + soft floats fails to build" ?
Best regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------
next prev parent reply other threads:[~2007-10-19 18:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-19 8:19 [Buildroot] [buildroot 0001542]: arm gcc-4.1.2 + oabi + soft floats fails to build bugs at busybox.net
2007-10-19 18:37 ` Ivan Kuten [this message]
2007-10-19 19:14 ` Ulf Samuelsson
2007-10-19 20:28 ` Ivan Kuten
2007-10-20 1:03 ` Hamish Moffatt
-- strict thread matches above, loose matches on Subject: below --
2007-10-20 18:24 bugs at busybox.net
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=4718F974.3010404@promwad.com \
--to=ivan.kuten@promwad.com \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.