public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/5688: cross compiler build fails in libjava
@ 2002-06-02 12:26 H.J. Lu
  0 siblings, 0 replies; 4+ messages in thread
From: H.J. Lu @ 2002-06-02 12:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR java/5688; it has been noted by GNATS.

From: "H.J. Lu" <hjl@lucon.org>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, pb@nexus.co.uk,
	gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
	java-prs@gcc.gnu.org?Subject=Re:, java/5688:@lucon.org,
	cross@lucon.org, co@lucon.org
Cc:  
Subject: Re: java/5688: cross compiler build fails in libjava
Date: Sun, 02 Jun 2002 12:18:11 -0700

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5688
 
 Is anyone working on this bug? I guess the first thing should be done is 
 to change
 
 if test -n "${with_cross_host}"; then
    # We are being configured with a cross compiler.  AC_REPLACE_FUNCS
    # may not work correctly, because the compiler may not be able to
    # link executables.
 
    # We assume newlib.  This lets us hard-code the functions we know
    # we'll have.
    AC_DEFINE(HAVE_MEMMOVE)
  .....
 
 to something similar in the toplevel configure.in which checks if newlib 
 is used
 before blindly assuming we are compiling for newlib.
 


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

* Re: java/5688: cross compiler build fails in libjava
@ 2002-06-02 16:26 Tom Tromey
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Tromey @ 2002-06-02 16:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR java/5688; it has been noted by GNATS.

From: Tom Tromey <tromey@redhat.com>
To: "H.J. Lu" <hjl@lucon.org>
Cc: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, pb@nexus.co.uk,
        gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
        "java-prs@gcc.gnu.org?Subject=Re":, java/5688:@lucon.org,
        cross@lucon.org, co@lucon.org
Subject: Re: java/5688: cross compiler build fails in libjava
Date: 02 Jun 2002 17:28:33 -0600

 >>>>> "H.J." == H J Lu <hjl@lucon.org> writes:
 
 H.J.> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5688
 H.J.> Is anyone working on this bug?
 
 As far as I know, nobody is working on it.
 
 Tom


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

* Re: java/5688: cross compiler build fails in libjava
@ 2002-02-14  9:46 Tom Tromey
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Tromey @ 2002-02-14  9:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR java/5688; it has been noted by GNATS.

From: Tom Tromey <tromey@redhat.com>
To: pb@nexus.co.uk
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/5688: cross compiler build fails in libjava
Date: 14 Feb 2002 11:02:30 -0700

 >>>>> ">" == pb  <pb@nexus.co.uk> writes:
 
 >> --target=arm-linux
 
 >> /home/pb/gcc/libjava/java/net/natInetAddress.cc:58: declaration of C function `
 >>    int gethostname(char*, int)' conflicts with
 >> /usr/local/arm-linux/include/unistd.h:734: previous declaration `int 
 >>    gethostname(char*, unsigned int)' here
 
 
 FYI: libgcj currently assumes that if you are cross-compiling then the
 target uses newlib.  This is a bogus assumption, of course, but nobody
 has yet done the work to eliminate it.  This particular error is just
 the first problem you will encounter...
 
 Tom


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

* java/5688: cross compiler build fails in libjava
@ 2002-02-14  4:26 pb
  0 siblings, 0 replies; 4+ messages in thread
From: pb @ 2002-02-14  4:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5688
>Category:       java
>Synopsis:       cross compiler build fails in libjava
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 14 04:26:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     pb@nexus.co.uk
>Release:        CVS HEAD, 14-02-2002
>Organization:
>Environment:
/home/pb/gcc/configure --with-gcc-version-trigger=/home/pb/gcc/gcc/version.c --
ost=i686-pc-linux-gnu --target=arm-linux --norecursion 
>Description:
Compilation stops with this error

/var/tmp/build/gcc/gcc/g++ -B/var/tmp/build/gcc/gcc/ -nostdinc++ -nostdinc++ -I/var/tmp/build/gcc/arm-linux/libstdc++-v3/include/arm-linux -I/var/tmp/build/gcc/arm-linux/libstdc++-v3/include -I/home/pb/gcc/libstdc++-v3/libsupc++ -I/home/pb/gcc/libstdc++-v3/libio -I/home/pb/gcc/libstdc++-v3/include/backward -I/home/pb/gcc/libstdc++-v3/testsuite -L/var/tmp/build/gcc/arm-linux/libstdc++-v3/src -L/var/tmp/build/gcc/arm-linux/libstdc++-v3/src/.libs -B/usr/local/arm-linux/bin/ -B/usr/local/arm-linux/lib/ -isystem /usr/local/arm-linux/include -DHAVE_CONFIG_H -I. -I/home/pb/gcc/libjava -I./include -I./gcj -I/home/pb/gcc/libjava -Iinclude -I/home/pb/gcc/libjava/include -I/home/pb/gcc/libjava/../boehm-gc/include -DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -DNO_SIGSET=1 -DNO_DEBUGGING=1 -I/home/pb/gcc/libjava/.././libjava/../gcc -I/home/pb/gcc/libjava/../zlib -I/home/pb/gcc/libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -I/usr/X11R6/include -W -Wall -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -g -O2 -D_GNU_SOURCE -MD -MT java/net/natInetAddress.lo -MF java/net/natInetAddress.pp -c /home/pb/gcc/libjava/java/net/natInetAddress.cc  -fPIC -DPIC -o java/net/.libs/natInetAddress.o
/home/pb/gcc/libjava/java/net/natInetAddress.cc:58: declaration of C function `
   int gethostname(char*, int)' conflicts with
/usr/local/arm-linux/include/unistd.h:734: previous declaration `int 
   gethostname(char*, unsigned int)' here
make[2]: *** [java/net/natInetAddress.lo] Error 1
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-06-02 23:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-02 12:26 java/5688: cross compiler build fails in libjava H.J. Lu
  -- strict thread matches above, loose matches on Subject: below --
2002-06-02 16:26 Tom Tromey
2002-02-14  9:46 Tom Tromey
2002-02-14  4:26 pb

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).