From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C2A7A3858C2C; Mon, 6 Dec 2021 06:26:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C2A7A3858C2C From: "qiu.chaofan at outlook dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/100912] powerpc64le: ieee128 long double incorrectly printed when using shared libstdc++ Date: Mon, 06 Dec 2021 06:26:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 11.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: qiu.chaofan at outlook dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2021 06:26:02 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100912 --- Comment #9 from Qiu Chaofan --- I also get following 'symbol not found' error for following case (under -mabi=3Dieeelongdouble): undefined reference to `std::__gnu_cxx11_ieee128::money_get > >::money_get(unsigned long)' Maybe related? #include #include #include struct D : public std::money_get { D() : std::money_get() {} iter_type do_get(iter_type s, iter_type end, bool intl, std::ios_base &st= r, std::ios_base::iostate &err, long double &units) const { return std::money_get::do_get(s, end, intl, str, err, units); } } d; int main(void) { std::wistringstream in(L"1 "); in.imbue(std::locale::classic()); in.exceptions(std::ios_base::goodbit); long double val; std::istreambuf_iterator end; std::istreambuf_iterator begin(in); std::ios_base::iostate prior_err =3D in.rdstate(); std::ios_base::iostate err =3D in.rdstate(); d.do_get(begin, end, true, in, err, val); return 0; }=