public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* problem with ar
@ 2005-04-27 21:37 Bambero
  2005-04-27 23:43 ` Problem with 2.16 MIPS as (MIPS TLS support) Khem Raj
  2005-05-05 10:12 ` problem with ar Nick Clifton
  0 siblings, 2 replies; 4+ messages in thread
From: Bambero @ 2005-04-27 21:37 UTC (permalink / raw)
  To: binutils

Hi

I just compiled some packages for my embeded system using 
gentoo-uclibc-stage3.
Everything i fine but when I chroot to my new system and try to compile 
ex. sed
"ar" returns me an error:

rm -f libsed.a
ar cru libsed.a getopt1.o getopt.o utils.o strverscmp.o regex.o
ar: libsed.a: No such file or directory
make[2]: *** [libsed.a] Error 1
make[2]: Leaving directory `/usr/local/src/sed/sed-4.1.4/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/sed/sed-4.1.4'
make: *** [all] Error 2

when I try to do that by hand the error is the same:

[root@pr:/usr/local/src/sed/sed-4.1.4/lib#] ar cru libsed.a getopt1.o 
getopt.o utils.o strverscmp.o regex.o
ar: libsed.a: No such file or directory
[root@pr:/usr/local/src/sed/sed-4.1.4/lib#]

but when i try:
[root@pr:/usr/local/src/sed/sed-4.1.4/lib#] ar cru libsed.a
[root@pr:/usr/local/src/sed/sed-4.1.4/lib#]

everything is fine.
Anyone knows where is the problem ?

Bambero

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

* Problem with 2.16 MIPS as (MIPS TLS support)
  2005-04-27 21:37 problem with ar Bambero
@ 2005-04-27 23:43 ` Khem Raj
  2005-04-28  1:08   ` Daniel Jacobowitz
  2005-05-05 10:12 ` problem with ar Nick Clifton
  1 sibling, 1 reply; 4+ messages in thread
From: Khem Raj @ 2005-04-27 23:43 UTC (permalink / raw)
  To: binutils

Hi,

The following instruction usage
    lw $3,%tpoff(foo)($28)
is giving error on mips 2.16 as
while going through

http://www.linux-mips.org/wiki/index.php/NPTL
It mentions this intructions use in initial exec TLS model
but 2.16 gas seems not to understand tpoff relocation directive

Has 'tpoff' directive been implemented with a different name in 2.16

Thanks

-Khem

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

* Re: Problem with 2.16 MIPS as (MIPS TLS support)
  2005-04-27 23:43 ` Problem with 2.16 MIPS as (MIPS TLS support) Khem Raj
@ 2005-04-28  1:08   ` Daniel Jacobowitz
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2005-04-28  1:08 UTC (permalink / raw)
  To: Khem Raj; +Cc: binutils

On Wed, Apr 27, 2005 at 02:35:34PM -0700, Khem Raj wrote:
> Hi,
> 
> The following instruction usage
>    lw $3,%tpoff(foo)($28)
> is giving error on mips 2.16 as
> while going through
> 
> http://www.linux-mips.org/wiki/index.php/NPTL
> It mentions this intructions use in initial exec TLS model
> but 2.16 gas seems not to understand tpoff relocation directive
> 
> Has 'tpoff' directive been implemented with a different name in 2.16

Yes.  If you look through the mailing list archives, you'll see that I
was asked to rename the operators.

You can find updated patches in the GCC and glibc repositories that
expect the new names.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

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

* Re: problem with ar
  2005-04-27 21:37 problem with ar Bambero
  2005-04-27 23:43 ` Problem with 2.16 MIPS as (MIPS TLS support) Khem Raj
@ 2005-05-05 10:12 ` Nick Clifton
  1 sibling, 0 replies; 4+ messages in thread
From: Nick Clifton @ 2005-05-05 10:12 UTC (permalink / raw)
  To: Bambero; +Cc: binutils

Hi Bambero,

> ar cru libsed.a getopt1.o getopt.o utils.o strverscmp.o regex.o
> ar: libsed.a: No such file or directory

This is a bug.

Which version of binutils are you using ?
Which host and target are involved ?

Do you have a simple test case which can reproduce the problem ?

Cheers
   Nick


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

end of thread, other threads:[~2005-05-05 10:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-27 21:37 problem with ar Bambero
2005-04-27 23:43 ` Problem with 2.16 MIPS as (MIPS TLS support) Khem Raj
2005-04-28  1:08   ` Daniel Jacobowitz
2005-05-05 10:12 ` problem with ar Nick Clifton

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