public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/52989] New: Installation error on OS X (arm-eabi) cross-compiler
@ 2012-04-14 18:11 eblot.ml at gmail dot com
2012-04-24 4:26 ` [Bug target/52989] " pinskia at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: eblot.ml at gmail dot com @ 2012-04-14 18:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52989
Bug #: 52989
Summary: Installation error on OS X (arm-eabi) cross-compiler
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: eblot.ml@gmail.com
While builing/installating GCC: the "make install" command fails to install two
generated files - "linux-crt0" - on OS X host, while building a cross-compiler
version for ARM-EABI target.
The message error looks like the following:
"install:
/usr/local/homebrew/Cellar/gcc-arm-eabi/4.7.0/arm-eabi/lib/fpu/linux-crt0.o: No
such file or directory"
although sometimes "make" simply exits with an "Error 2" error message and no
further info.
I already encountered a similar issue with GCC 4.6.3, never with previous
versions (4.6.0, 4.6.1 and 4.6.2 are ok) using the very same "configure" option
switches on the very same host.
With 4.6.3 however, there was no usable error message, so I give up trying to
understand the issue. It seems that with 4.7.0, I can obtain a usable error
message from the installation stage.
On my system, the following directories are not created at installation stage,
which in turn triggers the installation failure as "make install" attempts to
copy the built linux-crt0.o files into non-existent destination directories:
* <prefix>/gcc-arm-eabi/4.7.0/arm-eabi/lib/fpu
* <prefix>/gcc-arm-eabi/4.7.0/arm-eabi/lib/fpu/interwork
A simple workaround exists: creating the missing destination directories and
restarting "make install" enables the installation stage to complete
successfully.
Host:
Mac Book Pro Late 2008, Core 2 Duo 8 GiB, Lion 10.7.3 w/ 64 bits kernel
$> uname -a
Darwin arguel.eire 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST
2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64
$> echo $SHELL
/bin/bash
$> echo $BASH_VERSION
3.2.48(1)-release
configure:4034: /usr/bin/llvm-gcc --version >&5
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658)
(LLVM build 2336.1.00)
configure:4034: /usr/bin/llvm-gcc -v >&5
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~22/src/configure
--disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2
--mandir=/share/man --enable-languages=c,objc,c++,obj-c++
--program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin11
--enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~22/dst-llvmCore/Developer/usr/local
--program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11
--target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
Target: arm-eabi (not the linux EABI variant)
Configure option switches:
$ ../configure --prefix=/usr/local/homebrew/Cellar/gcc-arm-eabi/4.7.0
--target=arm-eabi --enable-shared --with-gnu-as --with-gnu-ld --with-newlib
--enable-softfloat --disable-bigendian --disable-fpu --disable-underscore
--enable-multilibs --with-float=soft --enable-interwork --enable-lto
--enable-plugin --with-multilib-list=interwork --with-abi=aapcs
--enable-languages=c,c++ --with-gmp=/usr/local/homebrew/Cellar/gmp/5.0.4
--with-mpfr=/usr/local/homebrew/Cellar/mpfr/3.1.0
--with-mpc=/usr/local/homebrew/Cellar/libmpc/0.9
--with-ppl=/usr/local/homebrew/Cellar/ppl/0.11.2
--with-cloog=/usr/local/homebrew/Cellar/cloog/0.17.0 --enable-cloog-backend=isl
--disable-cloog-version-check
--with-libelf=/usr/local/homebrew/Cellar/libelf/0.8.13
--with-gxx-include-dir=/usr/local/homebrew/Cellar/gcc-arm-eabi/4.7.0/arm-eabi/include
--disable-debug --disable-__cxa_atexit
Note: destination directory tree /usr/local/homebrew/* is R/W for the current
user. /usr/local/homebrew/Cellar/gcc-arm-eabi/4.7.0 did not exist before
building GCC.
Let me know if you need more information
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/52989] Installation error on OS X (arm-eabi) cross-compiler
2012-04-14 18:11 [Bug other/52989] New: Installation error on OS X (arm-eabi) cross-compiler eblot.ml at gmail dot com
@ 2012-04-24 4:26 ` pinskia at gcc dot gnu.org
2012-05-16 10:05 ` ramana at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-04-24 4:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52989
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
Target| |arm-eabi
Component|other |target
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-04-24 04:26:31 UTC ---
>--with-multilib-list=interwork
Maybe that is broken.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/52989] Installation error on OS X (arm-eabi) cross-compiler
2012-04-14 18:11 [Bug other/52989] New: Installation error on OS X (arm-eabi) cross-compiler eblot.ml at gmail dot com
2012-04-24 4:26 ` [Bug target/52989] " pinskia at gcc dot gnu.org
@ 2012-05-16 10:05 ` ramana at gcc dot gnu.org
2012-06-18 14:06 ` eblot.ml at gmail dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ramana at gcc dot gnu.org @ 2012-05-16 10:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52989
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ramana at gcc dot gnu.org
--- Comment #2 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2012-05-16 09:41:33 UTC ---
(In reply to comment #1)
> >--with-multilib-list=interwork
>
> Maybe that is broken.
I don't think we support --with-multilib-list yet for arm -
ramana
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/52989] Installation error on OS X (arm-eabi) cross-compiler
2012-04-14 18:11 [Bug other/52989] New: Installation error on OS X (arm-eabi) cross-compiler eblot.ml at gmail dot com
2012-04-24 4:26 ` [Bug target/52989] " pinskia at gcc dot gnu.org
2012-05-16 10:05 ` ramana at gcc dot gnu.org
@ 2012-06-18 14:06 ` eblot.ml at gmail dot com
2012-06-18 15:47 ` pinskia at gcc dot gnu.org
2012-11-28 3:28 ` ramana at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: eblot.ml at gmail dot com @ 2012-06-18 14:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52989
--- Comment #3 from Emmanuel Blot <eblot.ml at gmail dot com> 2012-06-18 14:06:43 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> I don't think we support --with-multilib-list yet for arm -
If not, what is the proper way to specify the libraries to build for ARM
(regular ARM ISA and Thumb-1 ISA)?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/52989] Installation error on OS X (arm-eabi) cross-compiler
2012-04-14 18:11 [Bug other/52989] New: Installation error on OS X (arm-eabi) cross-compiler eblot.ml at gmail dot com
` (2 preceding siblings ...)
2012-06-18 14:06 ` eblot.ml at gmail dot com
@ 2012-06-18 15:47 ` pinskia at gcc dot gnu.org
2012-11-28 3:28 ` ramana at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-06-18 15:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52989
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-06-18 15:47:16 UTC ---
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > I don't think we support --with-multilib-list yet for arm -
> If not, what is the proper way to specify the libraries to build for ARM
> (regular ARM ISA and Thumb-1 ISA)?
You have to edit the t-arm-elf but the default is to enable arm and thumb
multilibs.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/52989] Installation error on OS X (arm-eabi) cross-compiler
2012-04-14 18:11 [Bug other/52989] New: Installation error on OS X (arm-eabi) cross-compiler eblot.ml at gmail dot com
` (3 preceding siblings ...)
2012-06-18 15:47 ` pinskia at gcc dot gnu.org
@ 2012-11-28 3:28 ` ramana at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: ramana at gcc dot gnu.org @ 2012-11-28 3:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52989
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-11-28
Ever Confirmed|0 |1
Severity|normal |enhancement
--- Comment #5 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2012-11-28 03:28:29 UTC ---
ARM doesn't yet have --with-multilib-list . that possibly needs fixing up .
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-11-28 3:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-14 18:11 [Bug other/52989] New: Installation error on OS X (arm-eabi) cross-compiler eblot.ml at gmail dot com
2012-04-24 4:26 ` [Bug target/52989] " pinskia at gcc dot gnu.org
2012-05-16 10:05 ` ramana at gcc dot gnu.org
2012-06-18 14:06 ` eblot.ml at gmail dot com
2012-06-18 15:47 ` pinskia at gcc dot gnu.org
2012-11-28 3:28 ` ramana at gcc dot gnu.org
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).