From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17949 invoked by alias); 30 Oct 2011 08:15:20 -0000 Received: (qmail 17872 invoked by uid 22791); 30 Oct 2011 08:15:16 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 30 Oct 2011 08:15:01 +0000 From: "markus at trippelsdorf dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/50917] New: [4.7 Regression] Mozilla build fails because of C++11 user-defined literals Date: Sun, 30 Oct 2011 08:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markus at trippelsdorf dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-10/txt/msg03106.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D50917 Bug #: 50917 Summary: [4.7 Regression] Mozilla build fails because of C++11 user-defined literals Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: markus@trippelsdorf.de Mozilla fails to build because of the recently merged C++11 user-defined literals implementation: c++ -o nsGlueLinkingDlopen.i_o -c -I../../../dist/system_wrappers -include /var/tmp/mozilla-central/config/gcc_hidden.h -DOSTYPE=3D\"Linux3.1\" -DOSARCH=3DLinux -DXPCOM_GLUE -DTARGET_XPCOM_ABI=3D\"x86_64-gcc3\" -I/var/tmp/mozilla-central/xpcom/glue/standalone/../../build -I/var/tmp/mozilla-central/xpcom/glue/standalone -I. -I../../../dist/include -I../../../dist/include/nsprpub -I/usr/include/nspr -I/usr/include/nss -fPIC -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offs= etof -Wno-variadic-macros -Werror=3Dreturn-type -pedantic -Wno-long-long -march= =3Dnative -ffunction-sections -fdata-sections -fvisibility-inlines-hidden -fpermissive -Wno-delete-non-virtual-dtor -fno-exceptions -fno-strict-aliasing -std=3Dgn= u++0x -pthread -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -fprofile-generate -O3 -fomit-frame-pointer -DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MF .deps/nsGlueLinkingDlopen.pp /var/tmp/mozilla-central/xpcom/glue/standalone/nsGlueLinkingDlopen.cpp /var/tmp/mozilla-central/xpcom/glue/standalone/nsGlueLinkingDlopen.cpp: In function =E2=80=98nsresult XPCOMGlueLoad(const char*, nsresult (**)(XPCOMFu= nctions*, const char*))=E2=80=99: /var/tmp/mozilla-central/xpcom/glue/standalone/nsGlueLinkingDlopen.cpp:231:= 68: error: unable to find user-defined string literal operator =E2=80=98operato= r"" MOZ_DLL_SUFFIX=E2=80=99 xpcom/glue/standalone/nsGlueLinkingDlopen.cpp:231: snprintf(lastSlash, MAXPATHLEN - strlen(xpcomDir), "/" XUL_DLL); ./moz-build-dir/mozilla-config.h #define MOZ_DLL_SUFFIX ".so" ./xpcom/build/nsXPCOMPrivate.h: #define XUL_DLL "libxul"MOZ_DLL_SUFFIX Please note that they're using -std=3Dgnu++0x