[Bug gold/14309] gold doesn't build with gcc 4.1.3
http://sourceware.org/bugzilla/show_bug.cgi?id=14309 --- Comment #9 from H.J. Lu 2012-07-11 09:07:37 UTC --- I got /net/gnu-6/export/linux/src/binutils/binutils/gold/incremental-dump.cc /net/gnu-6/export/linux/src/binutils/binutils/gold/x86_64.cc: In instantiation of \u2018const int ::Output_data_plt_x86_64<64>::plt_eh_frame_cie_size\u2019: /net/gnu-6/export/linux/src/binutils/binutils/gold/x86_64.cc:331: instantiated from \u2018void::Output_data_plt_x86_64_standard::do_add_eh_frame(gold::Layout*) [with int size = 64]\u2019 /net/gnu-6/export/linux/src/binutils/binutils/gold/x86_64.cc:4802: instantiated from here /net/gnu-6/export/linux/src/binutils/binutils/gold/x86_64.cc:260: internal compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:5067 Please submit a full bug report, with preprocessed source if appropriate. See http://bugzilla.redhat.com/bugzilla> for instructions. with gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/14309] gold doesn't build with gcc 4.1.3
http://sourceware.org/bugzilla/show_bug.cgi?id=14309 --- Comment #10 from Ian Lance Taylor 2012-07-11 11:49:52 UTC --- The gold README says that GCC 4.1.2 is known to fail and GCC 4.1.3 is known to work. I think it's useful to ensure that gold compile with 4.1.x, but given that 4.1.3 works I don't think it's useful to work around compiler bugs in 4.1.2. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/14309] gold doesn't build with gcc 4.1.3
http://sourceware.org/bugzilla/show_bug.cgi?id=14309 --- Comment #11 from Jakub Jelinek 2012-07-11 11:54:33 UTC --- (In reply to comment #10) > The gold README says that GCC 4.1.2 is known to fail and GCC 4.1.3 is known to > work. I think it's useful to ensure that gold compile with 4.1.x, but given > that 4.1.3 works I don't think it's useful to work around compiler bugs in > 4.1.2. GCC 4.1.2-RH is based on FSF GCC 4.1.3 prerelease (note, GCC 4.1.3 has actually never been released). That said, we built internally gold just fine using that compiler with Dodji's patch, perhaps we are using different options. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/14352] New: grep -P dumps when using large regex, version 2.5.1
http://sourceware.org/bugzilla/show_bug.cgi?id=14352 Bug #: 14352 Summary: grep -P dumps when using large regex, version 2.5.1 Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassig...@sourceware.org ReportedBy: robert.kl...@gmail.com Classification: Unclassified This causes grep to dump: klr@vwglnx02:~> ( echo 'if ( GetProfileStr( "GLOBAL", "HW", ins, iVar->hw, sizeof( iVar->hw ) - 1,'; echo ' pcx->iniFile )) x=2; /* return value not used */' ) | grep -P '(?s)if\s*[(][^()]*([^()]*[(][^()]*([^()]*[(][^()]*([^()]*[(][^()]*([^()]*[(][^()]*([^()]*[(][^()]*([^()]*[(][^()](?#innerpart)*[^()]*[)][^()]*)*[^()]*[)][^()]*)*[^()]*[)][^()]*)*[^()]*[)][^()]*)*[^()]*[)][^()]*)*[^()]*[)][^()]*)*[^()]*[)]\s*((?#a_comment)\s*[/][*]([^*]|[*][^/])*[*][/]\s*)*;' Aborted (core dumped) remove these three chars "x=2" and it works: klr@vwglnx02:~> ( echo 'if ( GetProfileStr( "GLOBAL", "HW", ins, iVar->hw, sizeof( iVar->hw ) - 1,'; echo ' pcx->iniFile )) ; /* return value not used */' ) | grep -P '(?s)if\s*[(][^()]*([^()]*[(][^()]*([^()]*[(][^()]*([^()]*[(][^()]*([^()]*[(][^()]*([^()]*[(][^()]*([^()]*[(][^()](?#innerpart)*[^()]*[)][^()]*)*[^()]*[)][^()]*)*[^()]*[)][^()]*)*[^()]*[)][^()]*)*[^()]*[)][^()]*)*[^()]*[)][^()]*)*[^()]*[)]\s*((?#a_comment)\s*[/][*]([^*]|[*][^/])*[*][/]\s*)*;' if ( GetProfileStr( "GLOBAL", "HW", ins, iVar->hw, sizeof( iVar->hw ) - 1, pcx->iniFile )) ; /* return value not used */ klr@vwglnx02:~> grep --version grep (GNU grep) 2.5.1 Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Explanation of the regex: The regex is a straight forward aproach to check for balanced parantheses in C-code and then to check whether there is an if-statement or not (empty if-statement). It is necessary to code such a complex regex like this as regex normally cannot be used to deal with balanced parantheses. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils