From owner-freebsd-current@FreeBSD.ORG Tue May 29 12:08:05 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A916106566B for ; Tue, 29 May 2012 12:08:05 +0000 (UTC) (envelope-from yamayan@casio.co.jp) Received: from exprod7og107.obsmtp.com (exprod7og107.obsmtp.com [64.18.2.167]) by mx1.freebsd.org (Postfix) with SMTP id 723118FC14 for ; Tue, 29 May 2012 12:08:04 +0000 (UTC) Received: from mail-lb0-f174.google.com ([209.85.217.174]) (using TLSv1) by exprod7ob107.postini.com ([64.18.6.12]) with SMTP ID DSNKT8S8I6GH/D6z/WH0LR0UC2arihOrzNhz@postini.com; Tue, 29 May 2012 05:08:04 PDT Received: by lbbgm6 with SMTP id gm6so3525006lbb.33 for ; Tue, 29 May 2012 05:08:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=3V/X5iJAn/hqTiVCoXoTH5ynIbq9nkH91iYoVH6VlTY=; b=PrJk8Fq92dqTsovQFHTOh3iIazjr84QPLuDi8aXC227iJmkXTblKfNEvLl3Tu5nX3w 7W84xSZFQFiAVswOjHRaXqgb3xJed9bk0dTG0xVXremXYqcKZSvVdqpojvJo0f9q1EnU e4kY7Usii117nHI6lqQL5Y6NBbdP/D+JMf0E8E3gOLmTuJHEEKOmhBgvl+11W9/zH/Sy V4dxxAIAv4aOezUA/QLjCQ9kcisoR1WJdmIblgQxIiIznWaamq+LNIJuqB/x3xi11crZ OSueyGaAc1d2xWsfOcU4LEWb8JW7S9hC2/JFqE4wcaOwJGHatXl5Jy0MS6jI9kJ8//JE xCRw== MIME-Version: 1.0 Received: by 10.112.30.226 with SMTP id v2mr5264916lbh.103.1338293281904; Tue, 29 May 2012 05:08:01 -0700 (PDT) Received: by 10.112.111.100 with HTTP; Tue, 29 May 2012 05:08:01 -0700 (PDT) In-Reply-To: <4FC4A41D.2000509@FreeBSD.org> References: <4FC4A41D.2000509@FreeBSD.org> Date: Tue, 29 May 2012 21:08:01 +0900 Message-ID: From: =?ISO-2022-JP?B?GyRCOzNDKz9yO0sbKEI=?= To: Gabor Kovesdan Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmeV8llw6H+7QNeDHM+JE+tDU+uo1jlGr8PSU9zgYJ8LdWw7CfP7EvC3w+ADQWc9Vu5Wzip X-Mailman-Approved-At: Tue, 29 May 2012 13:26:51 +0000 Cc: freebsd-current@freebsd.org, Oleg Moskalenko Subject: Re: CURRENT: buildworld fails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2012 12:08:05 -0000 some log and file is overwritten. sort is already BSD sort. (WITH_BSD_SORT= yes in /etc/src.conf) cc is clang and c++ is clang++.(WITH_CLANG_IS_CC in /etc/src.conf) script make -j24 buildworld (or) make buildworld buildworld log: (snip) /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_ifstream >::is_open() const' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_string, std::allocator >::_Rep::_M_set_length_and_sharable(unsigned long)' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_string, std::allocator >::_M_check_length(unsigned long, unsigned long, char c onst*) const' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_fstream >::is_open() const' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_istream >::ignore()' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_string, std::allocator >::_M_copy(wchar_t*, wchar_t const*, unsigned long)' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::string::_M_assign(char*, unsigned long, char)' /usr/obj/usr/src/tmp/usr/bin/ld: Warning: size of symbol `_ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEv@GLIBCXX_3.4' changed from 243 in /usr/obj/usr/src/tmp/usr/lib/libstdc++.so to 211 in /usr/obj/usr/src/t mp/usr/lib/libstdc++.so /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_fstream >::is_open() const' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_string, std::allocator >::_M_move(wchar_t*, wchar_t const*, unsigned long)' /usr/obj/usr/src/tmp/usr/bin/ld: Warning: size of symbol `_ZNSbIwSt11char_traitsIwESaIwEE4_Rep26_M_set_length_and_sharableEm@GLIBCXX_3.4' changed from 19 in /usr/obj/usr/src/tmp/usr/lib/libstdc++.so to 24 in /usr /obj/usr/src/tmp/usr/lib/libstdc++.so /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::string::_M_move(char*, char const*, unsigned long)' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::istream::ignore()' /usr/obj/usr/src/tmp/usr/bin/ld: Warning: size of symbol `_ZNKSs15_M_check_lengthEmmPKc@GLIBCXX_3.4' changed from 39 in /usr/obj/usr/src/tmp/usr/lib/libstdc++.so to 36 in /usr/obj/usr/src/tmp/usr/lib/libstdc++.so /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_ofstream >::is_open() const' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_string, std::allocator >::_M_assign(wchar_t*, unsigned long, wchar_t)' /usr/obj/usr/src/tmp/usr/bin/ld: Warning: size of symbol `_ZNKSbIwSt11char_traitsIwESaIwEE15_M_check_lengthEmmPKc@GLIBCXX_3.4' changed from 39 in /usr/obj/usr/src/tmp/usr/lib/libstdc++.so to 36 in /usr/obj/usr/sr c/tmp/usr/lib/libstdc++.so /usr/obj/usr/src/tmp/usr/bin/ld: Warning: size of symbol `_ZNSi6ignoreEv@GLIBCXX_3.4' changed from 243 in /usr/obj/usr/src/tmp/usr/lib/libstdc++.so to 211 in /usr/obj/usr/src/tmp/usr/lib/libstdc++.so /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_ifstream >::is_open() const' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::string::_M_copy(char*, char const*, unsigned long)' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::basic_ofstream >::is_open() const' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::string::_M_check_length(unsigned long, unsigned long, char const*) const' /usr/obj/usr/src/tmp/usr/lib/libstdc++.so:(*IND*+0x0): multiple definition of `std::string::_Rep::_M_set_length_and_sharable(unsigned long)' (snip) c++: error: linker command failed with exit code 1 (use -v to see invocation) (snip) (end) cd /usr/obj/usr/src/tmp/usr/lib nm libstdc++.so.6 | lv (file is overwritten) Same symbols are found!!! cd /usr/lib nm libstdc++.a | lv (file is overwritten) Same symbols are not found. Each symbols are unique. recheck the buildworld log: building static * library sort: No such file or directory sort: No such file or directory ranlib *.a (or) building shared library *.so.# sort: No such file or directory sort: No such file or directory I found many many error message above. I think sort is broken. I think sort is used to merge same symbols into unique. but, because sort is broken, libraries have same(multiple) symbols. So, linker command failed with multiple definition error. /usr/bin/sort's timestamp was May 15. svn log -v | lv (search sort change log) r235987 | gabor | 2012-05-25 18:30:16 +0900 (Fri, 25 May 2012) | 7 lines r235546 | gabor | 2012-05-17 22:08:30 +0900 (Thu, 17 May 2012) | 4 lines r235435 | gabor | 2012-05-14 19:06:49 +0900 (Mon, 14 May 2012) | 5 lines r235434 | gabor | 2012-05-14 18:55:23 +0900 (Mon, 14 May 2012) | 2 lines r235432 | gabor | 2012-05-14 18:53:54 +0900 (Mon, 14 May 2012) | 2 lines I don't know when sort is broken and repaired. but, I think r235435 is maybe broken. Then, Update /usr/bin/sort latest version. and run "make -j24 buildworld kernel". It was done without error. (overwrite some log) so, reboot and installworld. (overwrite files) 2012/5/29 Gabor Kovesdan : > On 2012.05.29. 5:44, 山谷崇史 wrote: >> >> I had same problem, but I resolved it. >> >> Maybe, your sort (/usr/bin/sort) is broken. >> >> cd /usr/src >> make update >> cd usr.bin/sort >> make obj depend all install >> >> Then, sort is changed. >> >> make cleandir cleandir >> make buildworld > > > Could you please elaborate it a bit? From your mail it is not clear where > did things break and what kind of error did you see and how you actually > solved it. > > Thanks, > Gabor