public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/10693] make gnatlib_and_tools fails
       [not found] <20030508204600.10693.kredba@mistral.cz>
@ 2003-05-26 20:54 ` dhazeghi@yahoo.com
  2003-05-26 20:58 ` pinskia@physics.uc.edu
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dhazeghi@yahoo.com @ 2003-05-26 20:54 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dhazeghi@yahoo.com  2003-05-26 20:51 -------
Hello,

can you confirm whether this problem is also in gcc 3.3 final? Thanks,

Dara



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug target/10693] make gnatlib_and_tools fails
       [not found] <20030508204600.10693.kredba@mistral.cz>
  2003-05-26 20:54 ` [Bug target/10693] make gnatlib_and_tools fails dhazeghi@yahoo.com
@ 2003-05-26 20:58 ` pinskia@physics.uc.edu
  2003-06-22  8:50 ` [Bug bootstrap/10693] " kredba at mistral dot cz
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-26 20:58 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From pinskia@physics.uc.edu  2003-05-26 20:54 -------
See Dara's question



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug bootstrap/10693] make gnatlib_and_tools fails
       [not found] <20030508204600.10693.kredba@mistral.cz>
  2003-05-26 20:54 ` [Bug target/10693] make gnatlib_and_tools fails dhazeghi@yahoo.com
  2003-05-26 20:58 ` pinskia@physics.uc.edu
@ 2003-06-22  8:50 ` kredba at mistral dot cz
  2003-06-27  2:50 ` pinskia at physics dot uc dot edu
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: kredba at mistral dot cz @ 2003-06-22  8:50 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From kredba at mistral dot cz  2003-06-22 08:24 -------
Subject: Re:  make gnatlib_and_tools fails

The problem is in gcc-3.3 final too.

I used bootstraped linux gcc-3.3 to build cross linux->cygwin gcc.

../gcc-3.3/configure --prefix=/usr/local/xcygwin --target=i686-pc-cygwin 
--with-gnu-as --with-gnu-ld --with-newlib --disable-nls 
--enable-sjlj-exceptions --enable-languages=c,c++,objc,f77,ada,java 
--with-headers=/usr/local/xcygwin/include --enable-libgcj


(Libgcj has one problem too, I must report it :

/home/dave/cross-cygwin/gcc-build/gcc/xgcc -shared-libgcc 
-B/home/dave/cross-cygwin/gcc-build/gcc/ -nostdinc++ 
-L/home/dave/cross-cygwin/gcc-build/i686-pc-cygwin/libstdc++-v3/src 
-L/home/dave/cross-cygwin/gcc-build/i686-pc-cygwin/libstdc++-v3/src/.libs 
-B/usr/local/xcygwin/i686-pc-cygwin/bin/ 
-B/usr/local/xcygwin/i686-pc-cygwin/lib/ -isystem 
/usr/local/xcygwin/i686-pc-cygwin/include -DHAVE_CONFIG_H -I. 
-I../../../gcc-3.3/libjava -I./include -I./gcj 
-I../../../gcc-3.3/libjava -Iinclude -I../../../gcc-3.3/libjava/include 
-I../../../gcc-3.3/libjava/../boehm-gc/include -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../../../gcc-3.3/libjava/.././libjava/../gcc 
-I../../../gcc-3.3/libjava/../zlib 
-I../../../gcc-3.3/libjava/../libffi/include -I../libffi/include 
-fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum 
-D__NO_MATH_INLINES -ffloat-store -I/usr/X11R6/include -W -Wall 
-D_GNU_SOURCE -DPREFIX=\"/usr/local/xcygwin\" -g -O2 -MD -MT 
java/net/natInetAddress.lo -MF java/net/natInetAddress.pp -c 
../../../gcc-3.3/libjava/java/net/natInetAddress.cc -o 
java/net/natInetAddress.o
../../../gcc-3.3/libjava/java/net/natInetAddress.cc:59: error: 
declaration of C
    function `int gethostname(char*, int)' conflicts with
    /usr/local/xcygwin/i686-pc-cygwin/include/sys/unistd.h:168: error: 
previous
       declaration `int gethostname(char*, unsigned int)' here
       make[2]: *** [java/net/natInetAddress.lo] Error 1
       make[2]: Leaving directory 
`/home/dave/cross-cygwin/gcc-build/i686-pc-cygwin/libjava'
       make[1]: *** [all-recursive] Error 1
)

After cd gcc and make gnatlib_and_tools I got :

../../xgcc -B../../ -c -DCROSS_COMPILE -DIN_GCC   `echo -g -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional 
-pedantic -Wno-long-long  |sed -e 's/-pedantic//g' -e 
's/-Wtraditional//g'` 
-DCYGWIN_CROSS_DIR=\"/usr/local/xcygwin/i686-pc-cygwin\" -I. -I.. 
-I../.. -I/home/dave/cross-cygwin/gcc-3.3/gcc/ada 
-I/home/dave/cross-cygwin/gcc-3.3/gcc/ada/.. 
-I/home/dave/cross-cygwin/gcc-3.3/gcc/ada/../config 
-I/home/dave/cross-cygwin/gcc-3.3/gcc/ada/../../include b_gnatm.c
b_gnatm.c: In function `main':
b_gnatm.c:498: warning: unused variable `ensure_reference'
../../xgcc -B../../ -DCROSS_COMPILE -DIN_GCC   `echo -g -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional 
-pedantic -Wno-long-long  |sed -e 's/-pedantic//g' -e 
's/-Wtraditional//g'`   -o ../../gnatmake b_gnatm.o ali.o ali-util.o 
alloc.o atree.o binderr.o butil.o casing.o csets.o debug.o einfo.o 
elists.o errout.o fmap.o fname.o fname-uf.o fname-sf.o gnatmake.o 
gnatvsn.o hostparm.o krunch.o lib.o make.o makeusg.o mlib.o mlib-fil.o 
mlib-prj.o mlib-tgt.o mlib-utl.o namet.o nlists.o opt.o osint.o 
osint-m.o output.o prj.o prj-attr.o prj-com.o prj-dect.o prj-env.o 
prj-ext.o prj-nmsc.o prj-pars.o prj-part.o prj-proc.o prj-strt.o 
prj-tree.o prj-util.o rident.o scans.o scn.o sdefault.o sfn_scan.o 
sinfo.o sinfo-cn.o sinput.o sinput-l.o sinput-p.o snames.o stand.o 
stringt.o style.o stylesw.o validsw.o switch.o switch-m.o switch-c.o 
table.o targparm.o tree_io.o types.o uintp.o uname.o urealp.o usage.o 
widechar.o \
       ../../prefix.o ../../version.o ../rts/libgnat.a 
../../../libiberty/libiberty.a
../rts/libgnat.a: could not read symbols: Archive has no index; run 
ranlib to add one
collect2: ld returned 1 exit status
make[2]: *** [../../gnatmake] Error 1
make[2]: Leaving directory `/home/dave/cross-cygwin/gcc-build/gcc/ada/tools'
make[1]: *** [gnattools1] Error 2
make[1]: Leaving directory `/home/dave/cross-cygwin/gcc-build/gcc/ada'
make: *** [gnattools] Error 2


Regards,

David


dhazeghi@yahoo.com napsal(a):
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10693
> 
> 
> 
> ------- Additional Comments From dhazeghi@yahoo.com  2003-05-26 20:51 -------
> Hello,
> 
> can you confirm whether this problem is also in gcc 3.3 final? Thanks,
> 
> Dara
> 
> 
> 
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>


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

* [Bug bootstrap/10693] make gnatlib_and_tools fails
       [not found] <20030508204600.10693.kredba@mistral.cz>
                   ` (2 preceding siblings ...)
  2003-06-22  8:50 ` [Bug bootstrap/10693] " kredba at mistral dot cz
@ 2003-06-27  2:50 ` pinskia at physics dot uc dot edu
  2003-07-19 17:40 ` [Bug ada/10693] " pinskia at physics dot uc dot edu
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-27  2:50 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-27 02:50:13
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-06-27 02:50 -------
The submitter confirmed that the problem still exists in 3.3 release.
The libjava is a known problem and I think is filed under a different PR.


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

* [Bug ada/10693] make gnatlib_and_tools fails
       [not found] <20030508204600.10693.kredba@mistral.cz>
                   ` (3 preceding siblings ...)
  2003-06-27  2:50 ` pinskia at physics dot uc dot edu
@ 2003-07-19 17:40 ` pinskia at physics dot uc dot edu
  2003-07-19 17:44 ` pinskia at physics dot uc dot edu
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-19 17:40 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-19 17:40 -------
I have the same problem with ranlib not being run after installing gnat.


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

* [Bug ada/10693] make gnatlib_and_tools fails
       [not found] <20030508204600.10693.kredba@mistral.cz>
                   ` (4 preceding siblings ...)
  2003-07-19 17:40 ` [Bug ada/10693] " pinskia at physics dot uc dot edu
@ 2003-07-19 17:44 ` pinskia at physics dot uc dot edu
  2003-10-21 12:42 ` charlet at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-19 17:44 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |5911


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-19 17:43 -------
Most likely will be fixed when PR 5911 is fixed.


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

* [Bug ada/10693] make gnatlib_and_tools fails
       [not found] <20030508204600.10693.kredba@mistral.cz>
                   ` (5 preceding siblings ...)
  2003-07-19 17:44 ` pinskia at physics dot uc dot edu
@ 2003-10-21 12:42 ` charlet at gcc dot gnu dot org
  2003-10-21 16:24   ` Joseph S. Myers
  2003-10-21 16:27 ` jsm at polyomino dot org dot uk
  2003-10-21 16:46 ` charlet at gcc dot gnu dot org
  8 siblings, 1 reply; 10+ messages in thread
From: charlet at gcc dot gnu dot org @ 2003-10-21 12:42 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


charlet at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From charlet at gcc dot gnu dot org  2003-10-21 12:28 -------
The gnatlib_and_tools target is equivalent to make gnatlib gnattools
The gnattools target is only suitable for native builds.
For cross builds, you need to use cross-gnattools (and ada.all.cross)
target instead, e.g:

make gnatlib cross-gnattools ada.all.cross

So there is no bug per se.
I agree that some clean up could be useful, such as the one
suggested under PR 5911, but these two issues are different so I
am closing this PR.

Arno


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

* Re: [Bug ada/10693] make gnatlib_and_tools fails
  2003-10-21 12:42 ` charlet at gcc dot gnu dot org
@ 2003-10-21 16:24   ` Joseph S. Myers
  0 siblings, 0 replies; 10+ messages in thread
From: Joseph S. Myers @ 2003-10-21 16:24 UTC (permalink / raw)
  To: charlet at gcc dot gnu dot org; +Cc: gcc-bugs

On Tue, 21 Oct 2003, charlet at gcc dot gnu dot org wrote:

> The gnatlib_and_tools target is equivalent to make gnatlib gnattools
> The gnattools target is only suitable for native builds.
> For cross builds, you need to use cross-gnattools (and ada.all.cross)
> target instead, e.g:
> 
> make gnatlib cross-gnattools ada.all.cross
> 
> So there is no bug per se.

The use of gnatlib_and_tools by the reporter would appear to be in
accordance with the documentation (gcc/doc/install.texi) which has no
mention of the cross-gnattools target.  You should consider being an Ada
maintainer to include maintaining the Ada-specific parts of the
installation documentation, and update and improve those as you see fit.

Of course, fixing bug 5910 so that toplevel "make" / "make bootstrap"  
(according to whether or not a cross compiler) builds the Ada library and 
tools would render that issue obsolete.

-- 
Joseph S. Myers
jsm@polyomino.org.uk


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

* [Bug ada/10693] make gnatlib_and_tools fails
       [not found] <20030508204600.10693.kredba@mistral.cz>
                   ` (6 preceding siblings ...)
  2003-10-21 12:42 ` charlet at gcc dot gnu dot org
@ 2003-10-21 16:27 ` jsm at polyomino dot org dot uk
  2003-10-21 16:46 ` charlet at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jsm at polyomino dot org dot uk @ 2003-10-21 16:27 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From jsm at polyomino dot org dot uk  2003-10-21 16:24 -------
Subject: Re:  make gnatlib_and_tools fails

On Tue, 21 Oct 2003, charlet at gcc dot gnu dot org wrote:

> The gnatlib_and_tools target is equivalent to make gnatlib gnattools
> The gnattools target is only suitable for native builds.
> For cross builds, you need to use cross-gnattools (and ada.all.cross)
> target instead, e.g:
> 
> make gnatlib cross-gnattools ada.all.cross
> 
> So there is no bug per se.

The use of gnatlib_and_tools by the reporter would appear to be in
accordance with the documentation (gcc/doc/install.texi) which has no
mention of the cross-gnattools target.  You should consider being an Ada
maintainer to include maintaining the Ada-specific parts of the
installation documentation, and update and improve those as you see fit.

Of course, fixing bug 5910 so that toplevel "make" / "make bootstrap"  
(according to whether or not a cross compiler) builds the Ada library and 
tools would render that issue obsolete.


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

* [Bug ada/10693] make gnatlib_and_tools fails
       [not found] <20030508204600.10693.kredba@mistral.cz>
                   ` (7 preceding siblings ...)
  2003-10-21 16:27 ` jsm at polyomino dot org dot uk
@ 2003-10-21 16:46 ` charlet at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: charlet at gcc dot gnu dot org @ 2003-10-21 16:46 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From charlet at gcc dot gnu dot org  2003-10-21 16:41 -------
> The use of gnatlib_and_tools by the reporter would appear to be in
> accordance with the documentation (gcc/doc/install.texi) which has no
> mention of the cross-gnattools target.  You should consider being an Ada

Actually no, the documentation is wrong and incomplete. However
it mentions explicitely that this works for building a *native*
compiler.

It indeed has no instruction for building a cross compiler.

> maintainer to include maintaining the Ada-specific parts of the
> installation documentation, and update and improve those as you see fit.

Right, this is part of the future improvements.

> Of course, fixing bug 5910 so that toplevel "make" / "make bootstrap"
> (according to whether or not a cross compiler) builds the Ada library and
> tools would render that issue obsolete.

Of course, see my message on this PR, and feel free to help there.

Arno


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

end of thread, other threads:[~2003-10-21 16:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030508204600.10693.kredba@mistral.cz>
2003-05-26 20:54 ` [Bug target/10693] make gnatlib_and_tools fails dhazeghi@yahoo.com
2003-05-26 20:58 ` pinskia@physics.uc.edu
2003-06-22  8:50 ` [Bug bootstrap/10693] " kredba at mistral dot cz
2003-06-27  2:50 ` pinskia at physics dot uc dot edu
2003-07-19 17:40 ` [Bug ada/10693] " pinskia at physics dot uc dot edu
2003-07-19 17:44 ` pinskia at physics dot uc dot edu
2003-10-21 12:42 ` charlet at gcc dot gnu dot org
2003-10-21 16:24   ` Joseph S. Myers
2003-10-21 16:27 ` jsm at polyomino dot org dot uk
2003-10-21 16:46 ` charlet at gcc dot gnu dot 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).