public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/23656] New: Cross-compilation with newlib fails in libiberty
@ 2005-08-31 15:36 bart dot vanassche at gmail dot com
  2005-08-31 15:38 ` [Bug other/23656] " bart dot vanassche at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: bart dot vanassche at gmail dot com @ 2005-08-31 15:36 UTC (permalink / raw)
  To: gcc-bugs

While attempting to generate a cross-compiler, I got a build error in
libiberty/strsignal.c, because newlib has a strsignal() definition but libiberty
does not test for the strsignal() declaration in the newlib headers.

#######################################
$PREFIX
kernel=... (2.4.31 Linux kernel sources)
combined=... (tree with gcc-3.4.4 and newlib-1.13.0 sources combined)
export PREFIX=/home/bart/cross
export KERNELARCH=m68k
export TARGET=m68k-amiga-linux
export HOST=i686-pc-linux-gnu

mkdir -p $PREFIX/$TARGET/include
cd $PREFIX/$TARGET/include || exit $?
ln -s $kernel/include/linux .
ln -s $kernel/include/asm-generic .
ln -s $kernel/include/asm-$KERNELARCH asm

$combined/configure                \
    --disable-checking             \
    --disable-mudflap              \
    --disable-nls                  \
    --disable-shared		   \
    --enable-__cxa_atexit          \
    --enable-languages=c,c++       \
    --enable-threads=single        \
    --prefix=$PREFIX               \
    --target=$TARGET               \
    --with-local-prefix=$PREFIX    \
    --with-newlib                  \
    --with-sysroot=$PREFIX/$TARGET \

-- 
           Summary: Cross-compilation with newlib fails in libiberty
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bart dot vanassche at gmail dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: m68k-amiga-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23656


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug other/23656] Cross-compilation with newlib fails in libiberty
  2005-08-31 15:36 [Bug other/23656] New: Cross-compilation with newlib fails in libiberty bart dot vanassche at gmail dot com
@ 2005-08-31 15:38 ` bart dot vanassche at gmail dot com
  0 siblings, 0 replies; 2+ messages in thread
From: bart dot vanassche at gmail dot com @ 2005-08-31 15:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bart dot vanassche at gmail dot com  2005-08-31 15:36 -------
Created an attachment (id=9631)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9631&action=view)
patch for gcc-3.4.4/libiberty/configure.ac


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23656


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-31 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-31 15:36 [Bug other/23656] New: Cross-compilation with newlib fails in libiberty bart dot vanassche at gmail dot com
2005-08-31 15:38 ` [Bug other/23656] " bart dot vanassche at gmail 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).