| Summary: | -frepo is broken in gcc-devel and egcs ports | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | fjoe <fjoe> |
| Component: | Individual Port(s) | Assignee: | Max Khon <fjoe> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports->obrien OVer to maintainer Responsible Changed From-To: obrien->fjoe Max is now a committer, and can deside if he still wants something done about this. I am glad to review changes to RELENG_4 binutils. State Changed From-To: open->closed Currently there are no problems with -frepo in ports/lang/gcc30 (gcc-3.0.4) ports/lang/gcc31 (gcc-3.1.1_20020909) ports/lang/gcc32 (gcc-3.2_20020902) ports/lang/gcc33 (gcc-3.3_20021014) and GNU ld version 2.12.1 [FreeBSD] 2002-07-20 (stock binutils from RELENG_4) |
-frepo is broken in gcc-devel and egcs ports. ld is built with cplus-dem.c which differs from that one in gcc-2.9x.xx distros. Fix: gcc-devel or egcs ports (at least collect2) should be built with correct cplus-dem.c (with which ld is linked) How-To-Repeat: install egcs or gcc-devel ports and try to build the following program: --- cut here (Makefile) --- CXX=g++295 -frepo LD=g++295 foo: foo.o $(LD) -o $* $> clean: rm -f foo.o foo foo.rpo --- cut here --- --- cut here (foo.cc) --- #include <string> #include <vector> main(void) { std::vector<std::string> v; std::string s = "foo"; v.push_back(s); return 0; } --- cut here ---