Date: Thu, 20 Jan 2000 21:51:47 +0600 (NS) From: Max Khon <fjoe@iclub.nsu.ru> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/16220: -frepo is broken in gcc-devel and egcs ports Message-ID: <200001201551.VAA71719@iclub.nsu.ru>
next in thread | raw e-mail | index | archive | help
>Number: 16220 >Category: ports >Synopsis: -frepo is broken in gcc-devel and egcs ports >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 20 08:00:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Max Khon >Release: FreeBSD 4.0-CURRENT i386 >Organization: WebSci Technologies Inc. >Environment: lark:~/workshop$uname -a FreeBSD lark.websci.ru 4.0-CURRENT FreeBSD 4.0-CURRENT #5: Wed Jan 19 14:48:14 NOVT 2000 fjoe@lark.websci.ru:/usr/src/sys/compile/lark i386 lark:~/workshop$g++ -v Using builtin specs. gcc version 2.95.2 19991024 (release) lark:~/workshop$ >Description: -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. >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 --- >Fix: gcc-devel or egcs ports (at least collect2) should be built with correct cplus-dem.c (with which ld is linked) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001201551.VAA71719>