Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149538 - [gcc/build] 54_all_300-libstdc++-pic.patch pulls in wrong pic files
Summary: [gcc/build] 54_all_300-libstdc++-pic.patch pulls in wrong pic files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 149414
  Show dependency tree
 
Reported: 2006-09-29 09:31 UTC by Roberto Castagnola
Modified: 2006-10-19 02:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Castagnola 2006-09-29 09:31:58 UTC
This patch build and install libstdc++_pic.a library, but command added to Makefile.in is different from command added to Makefile.am
In Makefile.am is 
  $(AR) cru libstdc++_pic.a .libs/*.o $(top_builddir)/libsupc++/*.o
while in Makefile.in is
  $(AR) cru libstdc++_pic.a *.o $(top_builddir)/libsupc++/*.o

I think this will create libstdc++_pic.a library using wrong files.
Comment 1 SpanKY gentoo-dev 2006-09-30 17:26:12 UTC
pretty sure it should look like this ...

install-exec-local:
 pic_objs=`sed -n 's:^pic_object=::p' *.lo | grep -v '^none$$'`; \
 if [ x"$$pic_objs" != x ]; then \
  $(AR) cru libstdc++_pic.a $$pic_objs $(top_builddir)/libsupc++/*.o || exit 1; \
  $(INSTALL_DATA) libstdc++_pic.a $(DESTDIR)$(toolexeclibdir) || exit 1; \
 fi
Comment 2 SpanKY gentoo-dev 2006-10-01 15:55:37 UTC
fixed in cvs
Comment 3 Roberto Castagnola 2006-10-19 02:28:01 UTC
(In reply to comment #2)
> fixed in cvs
 
Why is not yet fixed in portage tree?