Re: gcc cross-compiler for mipsel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2005-07-05 at 20:38 -0400, Ignacio Vazquez-Abrams wrote:
> On Wed, 2005-07-06 at 01:54 +0200, Ralf Corsepius wrote:
> > On Tue, 2005-07-05 at 19:23 -0400, Ignacio Vazquez-Abrams wrote:
> > > SO close...
> > > 
> > > + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
> > > /usr/bin/strip: /var/tmp/gcc-root/usr/lib/gcc/mipsel-linux-elf/4.0.0/soft-float/stkfvvzH/_m16addsf3.o: Invalid operation
> > > /usr/bin/strip: /var/tmp/gcc-root/usr/lib/gcc/mipsel-linux-elf/4.0.0/soft-float/stknjimJ/_gcov.o: Invalid operation
> > > /usr/bin/strip: /var/tmp/gcc-root/usr/lib/gcc/mipsel-linux-elf/4.0.0/soft-float/eb/st1IbzLJ/_m16addsf3.o: Invalid operation
> > > /usr/bin/strip: /var/tmp/gcc-root/usr/lib/gcc/mipsel-linux-elf/4.0.0/soft-float/eb/stCS0KgK/_gcov.o: Invalid operation
> > > /usr/bin/strip: /var/tmp/gcc-root/usr/lib/gcc/mipsel-linux-elf/4.0.0/stykxIiN/_m16addsf3.o: Invalid operation
> > > /usr/bin/strip: /var/tmp/gcc-root/usr/lib/gcc/mipsel-linux-elf/4.0.0/stlyWRIN/_gcov.o: Invalid operation
> > > /usr/bin/strip: /var/tmp/gcc-root/usr/lib/gcc/mipsel-linux-elf/4.0.0/eb/stcW3fTL/_m16addsf3.o: Invalid operation
> > > /usr/bin/strip: /var/tmp/gcc-root/usr/lib/gcc/mipsel-linux-elf/4.0.0/eb/stlQTjfM/_gcov.o: Invalid operation
> > > error: Bad exit status from /var/tmp/rpm-tmp.36667 (%install)
> > > 
> > > http://fedora.ivazquez.net/files/current/
> > > 
> > > How can I tell rpmbuild to not strip those files, or to point it to the
> > > proper strip?
> > 
> > By redefining __os_install_post (cf. rpm --showrc) and/or by providing
> > your own brp-strip-static-archive (AFAICT, the "strip" is hard-coded
> > into /usr/lib/rpm/brp-strip-static-archive).
> 
> I managed to figure it out thanks to some nudging in the right direction
> from jbj.
> 
> FTR, you can define %__strip to change what you use to strip.

/usr/lib/rpm/brp-strip-static-archive has "strip" hard-coded into it:

> 
>        sed -n -e 's/^\(.*\):[  ]*current ar archive/\1/p'`; do
>        strip -g $f
>done

Ralf


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux