public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39448] New: cross compile for avr mangles path in configure
@ 2009-03-12 22:06 chris dot kiick at sun dot com
2009-03-13 18:57 ` [Bug target/39448] " chris dot kiick at sun dot com
0 siblings, 1 reply; 2+ messages in thread
From: chris dot kiick at sun dot com @ 2009-03-12 22:06 UTC (permalink / raw)
To: gcc-bugs
Trying to compile avr-gcc on OpenSolaris. gcc 3.4.3 installed on host, using
sources for 4.3.3. Make eventually errors off with "cannot compute suffix of
object files". A look in config.log shows weird paths:
/export/home/ck242721/avr/avr/bin/as: not found.
Binutils installed in /export/home/ck142721/avr/bin with avr- prefix.
./configure --target=avr --prefix="/export/home/ckiick/"
--program-prefix="avr-" --enable-languages=c --with-gmp=/usr/local
--with-mpfr=/usr/local
note: gmp and mpfr are installed an in LD_LIBRARY_PATH.
error:
checking for avr-gcc...
/export/home/ckiick/Download/gcc-4.3.3/host-i386-pc-solaris2.11/gcc/xgcc
-B/export/home/ckiick/Download/gcc-4.3.3/host-i386-pc-solaris2.11/gcc/
-B/export/home/ckiick//avr/bin/ -B/export/home/ckiick//avr/lib/ -isystem
/export/home/ckiick//avr/include -isystem /export/home/ckiick//avr/sys-include
checking for suffix of object files... configure: error: cannot compute suffix
of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/export/home/ckiick/Download/gcc-4.3.3'
make: *** [all] Error 2
in gcc4.3.3/avr/libgcc/config.log:
configure:2398:
/export/home/ckiick/Download/gcc-4.3.3/host-i386-pc-solaris2.11/gcc/xgcc
-B/export/home/ckiick/Download/gcc-4.3.3/host-i386-pc-solaris2.11/gcc/
-B/export/home/ckiick//avr/bin/ -B/export/home/ckiick//avr/lib/ -isystem
/export/home/ckiick//avr/include -isystem /export/home/ckiick//avr/sys-include
-o conftest -O2 -g -g -O2 conftest.c >&5
/export/home/ckiick/Download/gcc-4.3.3/host-i386-pc-solaris2.11/gcc/as[77]:
exec: /export/home/ckiick/avr/avr/bin/as: not found
configure:2401: $? = 1
configure:2567: checking for suffix of object files
configure:2588:
/export/home/ckiick/Download/gcc-4.3.3/host-i386-pc-solaris2.11/gcc/xgcc
-B/export/home/ckiick/Download/gcc-4.3.3/host-i386-pc-solaris2.11/gcc/
-B/export/home/ckiick//avr/bin/ -B/export/home/ckiick//avr/lib/ -isystem
/export/home/ckiick//avr/include -isystem /export/home/ckiick//avr/sys-include
-c -O2 -g -g -O2 conftest.c >&5
/export/home/ckiick/Download/gcc-4.3.3/host-i386-pc-solaris2.11/gcc/as[77]:
exec: /export/home/ckiick/avr/avr/bin/as: not found
configure:2591: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GNU C Runtime Library"
|
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2604: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
path of avr-as is /export/home/ckiick/avr/bin/avr-as
I've tried using different paths with --prefix but it still does the same
thing.
--
Summary: cross compile for avr mangles path in configure
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris dot kiick at sun dot com
GCC build triplet: gcc 4.3.3
GCC host triplet: gcc version 3.4.3 (csl-sol210-3.4-20050802)
GCC target triplet: avr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39448
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/39448] cross compile for avr mangles path in configure
2009-03-12 22:06 [Bug target/39448] New: cross compile for avr mangles path in configure chris dot kiick at sun dot com
@ 2009-03-13 18:57 ` chris dot kiick at sun dot com
0 siblings, 0 replies; 2+ messages in thread
From: chris dot kiick at sun dot com @ 2009-03-13 18:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from chris dot kiick at sun dot com 2009-03-13 18:56 -------
Problem was due to half-installed binutils. Recompiling and installing
binutils got past the reported error.
Still have build problems, but they are not related to this.
--
chris dot kiick at sun dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39448
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-13 18:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-12 22:06 [Bug target/39448] New: cross compile for avr mangles path in configure chris dot kiick at sun dot com
2009-03-13 18:57 ` [Bug target/39448] " chris dot kiick at sun dot com
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).