Re: [RFA] peXXigen.c, _bfd_XXi_swap_aux_in, wrong size used in memcpy.
Hi Michael, 2011-03-03 Michael Snyder * peXXigen.c (_bfd_XXi_swap_aux_in): Use E_FILNMNEN instead of FILENMLEN, otherwise will overwrite array. Approved - please apply. Cheers Nick ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
Re: [RFA] archive.c, bsd_write_armap, fail if stat fails
Hi Michael. Perhaps nit-picky -- what do you think? 2011-03-03 Michael Snyder * archive.c (bsd_write_armap): Fail if stat fails. I am all for paranoid programming - please apply. Cheers Nick ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
Re: [RFA] archive.c, bsd_write_armap, fail if stat fails
Hi Miachael, Alan Modra wrote: On Thu, Mar 03, 2011 at 10:46:09AM -0800, Michael Snyder wrote: * archive.c (bsd_write_armap): Fail if stat fails. I think it would be better to just set the timestamp to zero if stat fails. There is precedent for this, eg. opncls.c:_maybe_make_executable. Err, can I leave that to you? Oops - I should have read all my emails first... ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/12542] New: [regression] powerpc as failure
http://sourceware.org/bugzilla/show_bug.cgi?id=12542 Summary: [regression] powerpc as failure Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: critical Priority: P2 Component: gas AssignedTo: unassig...@sources.redhat.com ReportedBy: joel.sherr...@oarcorp.com Created attachment 5273 --> http://sourceware.org/bugzilla/attachment.cgi?id=5273 file to trip error binutils CVS head (f2.21.51.20110304) fails to assemble a file that is assembled OK by 2.21, 2.20.1, 2.19, 2,18, 2.17, and 2.13.2.1. $ powerpc-rtems4.11-as size_error.s size_error.s: Assembler messages: size_error.s:11: Error: .size expression does not evaluate to a constant -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/12542] [regression] powerpc as failure
http://sourceware.org/bugzilla/show_bug.cgi?id=12542 Joel Sherrill changed: What|Removed |Added Target||powerpc-rtems CC||ralf.corsepius at rtems dot ||org -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/12542] [regression] powerpc as failure
http://sourceware.org/bugzilla/show_bug.cgi?id=12542 Alan Modra changed: What|Removed |Added Status|NEW |RESOLVED CC||amodra at gmail dot com Resolution||INVALID --- Comment #1 from Alan Modra 2011-03-04 13:54:00 UTC --- Yes, I fixed a bug that allowed invalid .size expressions. Your testcase contains an error. _start vs. __start -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12485] Support for automatic linking via pragma
http://sourceware.org/bugzilla/show_bug.cgi?id=12485 --- Comment #5 from Olaf van der Spek 2011-03-04 14:26:07 UTC --- On Mon, Feb 28, 2011 at 8:42 PM, hjl.tools at gmail dot com wrote: > --- Comment #3 from H.J. Lu 2011-02-28 19:42:19 > UTC --- > Here is a proposal for H/W S/W Attribute: This does not sound related to this feature request. Wrong bug number? Olaf -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12525] gold SEGV linking libgcc_s.so.1 on Solaris 11/x86
http://sourceware.org/bugzilla/show_bug.cgi?id=12525 --- Comment #8 from Rainer Orth 2011-03-04 14:48:43 UTC --- > --- Comment #7 from Ian Lance Taylor 2011-03-03 > 16:39:12 UTC --- > The intention of the code is that the file is guaranteed to be large enough by > the call to posix_fallocate in Output_file::map_no_anonymous. Does Solaris > have posix_fallocate? If it does, does it actually grow the file? It does, starting from Solaris 11. Looking at truss output, I see this: 1813: fcntl(109, F_ALLOCSP64, 0x08043D30) Err#22 EINVAL 1813: typ=F_WRLCK whence=SEEK_SET start=1686135440932864 len=-75608896336560128 sys=134509716 pid=144176112 which, according to the OpenSolaris sources, is called from posix_fallocate. fcntl expects a struct flock64 here, or struct flock for the F_ALLOCSP case. What seems to be happening is this: for a largefile environment, has #pragma redefine_extnameposix_fallocate posix_fallocate64 and extern int posix_fallocate64(int, off64_t, off64_t); I can see that gold has a reference to posix_fallocate64, but suspect that the second and third args are still off_t, not off64_t. > If Solaris does not have posix_fallocate, the configure script should detect > that, and cause gold to provide a simple implementation, at the top of > output.cc, which calls ftruncate and hopes for the best. Does Solaris provide > ftruncate? If it does, does it actually grow the file? ftruncate() is present at least as far back as Solaris 8. According to the man page, it does grow files. Rainer -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12544] New: ld coredump while compiling parma polyhedra library for i686-w64-mingw32 target
http://sourceware.org/bugzilla/show_bug.cgi?id=12544 Summary: ld coredump while compiling parma polyhedra library for i686-w64-mingw32 target Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassig...@sources.redhat.com ReportedBy: askon...@gmail.com I'm using * GNU ld (GNU Binutils) 2.21.51.20110304 * GCC 4.6 While compiling PPL v0.11.2 for i686-w64-mingw32 target (host is i686-pc-cygwin) ld.exe coredumps with: = make[3]: Entering directory `/cygdrive/g/FSF/obj-ppl/src' /bin/sh ../libtool --tag=CXX --mode=link i686-w64-mingw32-g++ -g -O2 -frounding-math -W -Wall -no-undefined -version-info 9:0:0 -o libppl.la -rpath /mingw-native/lib Box.lo checked.lo Checked_Number.lo Float.lo fpu-ia32.lo Constraint.lo Constraint_System.lo Congruence.lo Congruence_System.lo Generator_System.lo Grid_Generator_System.lo Generator.lo Grid_Generator.lo Init.lo Coefficient.lo Linear_Expression.lo Linear_System.lo Matrix.lo Scalar_Products.lo MIP_Problem.lo PIP_Tree.lo PIP_Problem.lo Poly_Con_Relation.lo Poly_Gen_Relation.lo BHRZ03_Certificate.lo H79_Certificate.lo Grid_Certificate.lo Partial_Function.lo Polyhedron_nonpublic.lo Polyhedron_public.lo Polyhedron_chdims.lo Polyhedron_widenings.lo C_Polyhedron.lo NNC_Polyhedron.lo Grid_nonpublic.lo Grid_public.lo Grid_chdims.lo Grid_widenings.lo BD_Shape.lo Octagonal_Shape.lo Pointset_Powerset.lo Row.lo Linear_Row.lo Bit_Matrix.lo Bit_Row.lo Ph_Status.lo Grid_Status.lo Variable.lo Variables_Set.lo conversion.lo minimize.lo simplify.lo Grid_conversion.lo Grid_simplify.lo stdiobuf.lo c_streambuf.lo globals.lo mp_std_bits.lo Weight_Profiler.lo version.lotermination.lo wrap_string.lo -L/mingw-native/lib -lgmpxx -L/mingw-native/lib -lgmp *** Warning: This system can not link to static lib archive /mingw-native/lib/libgmpxx.la. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This system can not link to static lib archive /mingw-native/lib/libgmp.la. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. libtool: link: rm -fr .libs/libppl.dll.a libtool: link: i686-w64-mingw32-g++ -shared -nostdlib /mingw-cross/lib/gcc/i686-w64-mingw32/4.6.0/../../../../i686-w64-mingw32/lib/../lib/dllcrt2.o /mingw-cross/lib/gcc/i686-w64-mingw32/4.6.0/crtbegin.o .libs/Box.o .libs/checked.o .libs/Checked_Number.o .libs/Float.o .libs/fpu-ia32.o .libs/Constraint.o .libs/Constraint_System.o .libs/Congruence.o .libs/Congruence_System.o .libs/Generator_System.o .libs/Grid_Generator_System.o .libs/Generator.o .libs/Grid_Generator.o .libs/Init.o .libs/Coefficient.o .libs/Linear_Expression.o .libs/Linear_System.o .libs/Matrix.o .libs/Scalar_Products.o .libs/MIP_Problem.o .libs/PIP_Tree.o .libs/PIP_Problem.o .libs/Poly_Con_Relation.o .libs/Poly_Gen_Relation.o .libs/BHRZ03_Certificate.o .libs/H79_Certificate.o .libs/Grid_Certificate.o .libs/Partial_Function.o .libs/Polyhedron_nonpublic.o .libs/Polyhedron_public.o .libs/Polyhedron_chdims.o .libs/Polyhedron_widenings.o .libs/C_Polyhedron.o .libs/NNC_Polyhedron.o .libs/Grid_nonpublic.o .libs/Grid_public.o .libs/Grid_chdims.o .libs/Grid_widenings.o .libs/BD_Shape.o .libs/Octagonal_Shape.o .libs/Pointset_Powerset.o .libs/Row.o .libs/Linear_Row.o .libs/Bit_Matrix.o .libs/Bit_Row.o .libs/Ph_Status.o .libs/Grid_Status.o .libs/Variable.o .libs/Variables_Set.o .libs/conversion.o .libs/minimize.o .libs/simplify.o .libs/Grid_conversion.o .libs/Grid_simplify.o .libs/stdiobuf.o .libs/c_streambuf.o .libs/globals.o .libs/mp_std_bits.o .libs/Weight_Profiler.o .libs/version.o .libs/termination.o .libs/wrap_string.o -L/mingw-native/lib -L/usr/lib/gcc/i686-w64-mingw32/4.5.1 /usr/lib/gcc/i686-w64-mingw32/4.5.1/libstdc++.dll.a -L/mingw-cross/lib/gcc/i686-w64-mingw32/4.6.0 -L/mingw-cross/lib/gcc/i686-w64-mingw32/4.6.0/../../../../i686-w64-mingw32/lib/../lib -L/mingw-cross/lib/gcc/i686-w64-mingw32/4.6.0/../../../../i686-w64-mingw32/lib /mingw-native/lib/../lib/libstdc++.dll.a -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt /mingw-cross/lib/gcc/i686-w64-mingw32/4.6.0/crtend.o-o .libs/libppl-9.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libppl.dll.a collect2: ld terminated with signal 11 [Segmentation fault], core dumped ld.exe.stackdump contains this: === Exception: STATUS_ACCESS_VIOLATION at eip=6110D8F1 eax=7A266ECE ebx= ecx= edx=7A2
[Bug ld/12544] ld coredump while compiling parma polyhedra library for i686-w64-mingw32 target
http://sourceware.org/bugzilla/show_bug.cgi?id=12544 --- Comment #1 from Alen Skondro 2011-03-04 18:11:23 UTC --- Additional data: Just to make it sure... ld.exe is on host i686-pc-cygwin targeting i686-w64-mingw32. -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12544] ld coredump while compiling parma polyhedra library for i686-w64-mingw32 target
http://sourceware.org/bugzilla/show_bug.cgi?id=12544 Alen Skondro changed: What|Removed |Added CC||askondro at gmail dot com -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12525] gold SEGV linking libgcc_s.so.1 on Solaris 11/x86
http://sourceware.org/bugzilla/show_bug.cgi?id=12525 --- Comment #9 from Ian Lance Taylor 2011-03-04 19:08:43 UTC --- output.cc does #include . gold is always compiled with -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64. Those two facts together should ensure that posix_fallocate is called with the right types. Can you suggest a way that the gold source should be changed to fix this? -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils