* ar rejects as-produced object on HP-UX 10.20
@ 1999-11-29 11:23 Alexandre Oliva
1999-11-29 12:27 ` Jeffrey A Law
0 siblings, 1 reply; 9+ messages in thread
From: Alexandre Oliva @ 1999-11-29 11:23 UTC (permalink / raw)
To: binutils
This is with H.J.Lu's binutils 2.9.5.0.21, but it is very likely to
occur with binutils CVS too:
oliva@lully% cat test.c
void foo() {}
oliva@lully% gcc -c test.c
oliva@lully% ar c libtest.a test.o
ar: can't set BFD default target to `hppa1.1-hp-hpux10.20': Invalid bfd target
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ar rejects as-produced object on HP-UX 10.20
1999-11-29 11:23 ar rejects as-produced object on HP-UX 10.20 Alexandre Oliva
@ 1999-11-29 12:27 ` Jeffrey A Law
1999-11-29 12:30 ` H.J. Lu
0 siblings, 1 reply; 9+ messages in thread
From: Jeffrey A Law @ 1999-11-29 12:27 UTC (permalink / raw)
To: Alexandre Oliva; +Cc: binutils
In message < orvh6l85l2.fsf@cupuacu.lsd.ic.unicamp.br >you write:
> This is with H.J.Lu's binutils 2.9.5.0.21, but it is very likely to
> occur with binutils CVS too:
>
> oliva@lully% cat test.c
> void foo() {}
> oliva@lully% gcc -c test.c
> oliva@lully% ar c libtest.a test.o
> ar: can't set BFD default target to `hppa1.1-hp-hpux10.20': Invalid bfd tar
> get
Well, I use this stuff daily. This looks more like HJ botched something.
Particularly since "ar c" should give the error "no operation specified".
jeff
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ar rejects as-produced object on HP-UX 10.20
1999-11-29 12:27 ` Jeffrey A Law
@ 1999-11-29 12:30 ` H.J. Lu
1999-11-29 12:35 ` Jeffrey A Law
0 siblings, 1 reply; 9+ messages in thread
From: H.J. Lu @ 1999-11-29 12:30 UTC (permalink / raw)
To: law; +Cc: Alexandre Oliva, binutils
>
>
> In message < orvh6l85l2.fsf@cupuacu.lsd.ic.unicamp.br >you write:
> > This is with H.J.Lu's binutils 2.9.5.0.21, but it is very likely to
> > occur with binutils CVS too:
> >
> > oliva@lully% cat test.c
> > void foo() {}
> > oliva@lully% gcc -c test.c
> > oliva@lully% ar c libtest.a test.o
> > ar: can't set BFD default target to `hppa1.1-hp-hpux10.20': Invalid bfd tar
> > get
> Well, I use this stuff daily. This looks more like HJ botched something.
> Particularly since "ar c" should give the error "no operation specified".
>
Since HPPA is still work in progress which means the binutils from CVS
may be broken at any given time, I disabled HPPA support in my binutils.
--
H.J. Lu (hjl@gnu.org)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ar rejects as-produced object on HP-UX 10.20
1999-11-29 12:30 ` H.J. Lu
@ 1999-11-29 12:35 ` Jeffrey A Law
1999-11-29 17:10 ` H . J . Lu
0 siblings, 1 reply; 9+ messages in thread
From: Jeffrey A Law @ 1999-11-29 12:35 UTC (permalink / raw)
To: H.J. Lu; +Cc: Alexandre Oliva, binutils
In message < 19991129202953.7A9E11B493@ocean.lucon.org >you write:
> >
> >
> > In message < orvh6l85l2.fsf@cupuacu.lsd.ic.unicamp.br >you write:
> > > This is with H.J.Lu's binutils 2.9.5.0.21, but it is very likely to
> > > occur with binutils CVS too:
> > >
> > > oliva@lully% cat test.c
> > > void foo() {}
> > > oliva@lully% gcc -c test.c
> > > oliva@lully% ar c libtest.a test.o
> > > ar: can't set BFD default target to `hppa1.1-hp-hpux10.20': Invalid b
> fd tar
> > > get
> > Well, I use this stuff daily. This looks more like HJ botched something.
> > Particularly since "ar c" should give the error "no operation specified".
> >
>
> Since HPPA is still work in progress which means the binutils from CVS
> may be broken at any given time, I disabled HPPA support in my binutils.
It is only a work in progress for the ELF stuff. The SOM support is rock
solid.
Disabling the ELF stuff is certainly the right thing to do.
jeff
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ar rejects as-produced object on HP-UX 10.20
1999-11-29 12:35 ` Jeffrey A Law
@ 1999-11-29 17:10 ` H . J . Lu
1999-12-01 9:40 ` Alexandre Oliva
0 siblings, 1 reply; 9+ messages in thread
From: H . J . Lu @ 1999-11-29 17:10 UTC (permalink / raw)
To: Jeffrey A Law; +Cc: Alexandre Oliva, binutils
On Mon, Nov 29, 1999 at 01:32:48PM -0700, Jeffrey A Law wrote:
> It is only a work in progress for the ELF stuff. The SOM support is rock
> solid.
>
> Disabling the ELF stuff is certainly the right thing to do.
>
>
Alexandre, this is against binutils 2.9.5.0.21. I cannot test it since
it doesn't support cross compile from my OSes. Let me know if it works
for you.
Thanks.
H.J.
---
Mon Nov 29 17:07:38 1999 H.J. Lu <hjl@gnu.org>
* config.bfd (targmatch.h): Enable som_vec only.
---
Index: config.bfd
===================================================================
RCS file: /work/cvs/gnu/binutils/bfd/config.bfd,v
retrieving revision 1.12
diff -u -p -r1.12 config.bfd
--- config.bfd 1999/10/10 19:22:09 1.12
+++ config.bfd 1999/11/30 01:06:41
@@ -216,6 +216,13 @@ case "${targ}" in
targ_selvecs=bfd_elf32_hppa_vec
;;
#endif /* defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) || defined (HOST_HPPAOSF) */
+#else
+#if defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) || defined (HOST_HPPAOSF) || defined (HOST_HPPAMPEIX)
+ hppa*-*-bsd* | hppa*-*-hpux* | hppa*-*-hiux* | hppa*-*-mpeix* | \
+ hppa*-*-osf*)
+ targ_defvec=som_vec
+ ;;
+#endif /* defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) || defined (HOST_HPPAOSF) */
#endif
i370-*-*)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ar rejects as-produced object on HP-UX 10.20
1999-11-29 17:10 ` H . J . Lu
@ 1999-12-01 9:40 ` Alexandre Oliva
1999-12-01 10:57 ` Jeffrey A Law
1999-12-01 14:05 ` Ian Lance Taylor
0 siblings, 2 replies; 9+ messages in thread
From: Alexandre Oliva @ 1999-12-01 9:40 UTC (permalink / raw)
To: H . J . Lu; +Cc: Jeffrey A Law, binutils
On Nov 29, 1999, "H . J . Lu" <hjl@lucon.org> wrote:
> On Mon, Nov 29, 1999 at 01:32:48PM -0700, Jeffrey A Law wrote:
>> It is only a work in progress for the ELF stuff. The SOM support is rock
>> solid.
>> Disabling the ELF stuff is certainly the right thing to do.
> Alexandre, this is against binutils 2.9.5.0.21. I cannot test it since
> it doesn't support cross compile from my OSes. Let me know if it works
> for you.
Nope, it doesn't; same problem :-(
In fact, I can't find the place in which config.bfd is preprocessed;
is it? Or the #ifdefs are in place just for documentation?
Unfortunately, I've got very slow guest access to an HP/UX host, so
it's quite hard to debug it. And, as you wrote, cross-building
doesn't work; som.c is completely `#ifdef'ed away, and som_vec ends up
undefined :-(
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ar rejects as-produced object on HP-UX 10.20
1999-12-01 9:40 ` Alexandre Oliva
@ 1999-12-01 10:57 ` Jeffrey A Law
1999-12-01 12:42 ` Alexandre Oliva
1999-12-01 14:05 ` Ian Lance Taylor
1 sibling, 1 reply; 9+ messages in thread
From: Jeffrey A Law @ 1999-12-01 10:57 UTC (permalink / raw)
To: Alexandre Oliva; +Cc: H . J . Lu, binutils
In message < oremd61rwv.fsf@garnize.lsd.ic.unicamp.br >you write:
> > Alexandre, this is against binutils 2.9.5.0.21. I cannot test it since
> > it doesn't support cross compile from my OSes. Let me know if it works
> > for you.
>
> Nope, it doesn't; same problem :-(
>
> In fact, I can't find the place in which config.bfd is preprocessed;
> is it? Or the #ifdefs are in place just for documentation?
I recommend using a standard binutils release, not HJ's releases.
jeff
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ar rejects as-produced object on HP-UX 10.20
1999-12-01 10:57 ` Jeffrey A Law
@ 1999-12-01 12:42 ` Alexandre Oliva
0 siblings, 0 replies; 9+ messages in thread
From: Alexandre Oliva @ 1999-12-01 12:42 UTC (permalink / raw)
To: law; +Cc: H . J . Lu, binutils
On Dec 1, 1999, Jeffrey A Law <law@cygnus.com> wrote:
> I recommend using a standard binutils release, not HJ's releases.
The latest binutils release is 2.9.1. I was testing H.J.'s releases
in the hope that it would help get a new FSF release of binutils out
of the door. Only after having installed it on a dozen of platforms
and finding problems on a couple of them I found out there were some
non-trivial divergences between H.J's and Sourceware trees. Even
though I have spotted some problems that were particular to H.J.'s
releases, some are also present in the Sourceware tree.
I myself would rather have both work on as many platforms as possible
:-)
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ar rejects as-produced object on HP-UX 10.20
1999-12-01 9:40 ` Alexandre Oliva
1999-12-01 10:57 ` Jeffrey A Law
@ 1999-12-01 14:05 ` Ian Lance Taylor
1 sibling, 0 replies; 9+ messages in thread
From: Ian Lance Taylor @ 1999-12-01 14:05 UTC (permalink / raw)
To: oliva; +Cc: hjl, law, binutils
From: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Date: 01 Dec 1999 15:40:00 -0200
In fact, I can't find the place in which config.bfd is preprocessed;
is it? Or the #ifdefs are in place just for documentation?
The file targmatch.h is built from config.bfd using targmatch.sed.
The #ifdefs are copied into targmatch.h. targmatch.h is then included
by targets.c to build the bfd_target_match array.
Ian
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1999-12-01 14:05 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-29 11:23 ar rejects as-produced object on HP-UX 10.20 Alexandre Oliva
1999-11-29 12:27 ` Jeffrey A Law
1999-11-29 12:30 ` H.J. Lu
1999-11-29 12:35 ` Jeffrey A Law
1999-11-29 17:10 ` H . J . Lu
1999-12-01 9:40 ` Alexandre Oliva
1999-12-01 10:57 ` Jeffrey A Law
1999-12-01 12:42 ` Alexandre Oliva
1999-12-01 14:05 ` Ian Lance Taylor
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).