Re: GCC Spec File for Profiling

2007-07-16 Thread Michael Casadevall
Sorry for the delay in posting the patch; I had a late night. Anyway, here's the patch. I'll probably be able to run regression testing on my spare machine in a few days. I also have a patch for gettext-0.16 coming. --- src/gcc/config/i386/gnu.h 2007-07-14 17:02:14.21000 -0400 +++ /home/m

Re: GCC Spec File for Profiling

2007-07-16 Thread Michael Banck
Hi, On Sat, Jul 14, 2007 at 02:36:02PM -0400, Michael Casadevall wrote: > Looking at the buildd logs, it looks like gcc-4.2 is broken at the moment > on Hurd, Nah, it should compile fine giving enough patience. A reasonably uptodate package is on ftp.debian.org mirrors, I just killed the build

Re: GCC Spec File for Profiling

2007-07-16 Thread Michael Casadevall
Given that's the case, I finished making my patch (it was already based off the debian sources - I couldn't get GCC to compile without those patches), and I rebuilt GCC locally to make sure it worked properly with and without profiling. I forgot to save a copy of gnu.h before I edited it so I'm

weak _pthread_mutex_lock()

2007-07-16 Thread Samuel Thibault
Hi, Is there still a reason for _pthread_mutex_lock() to be weak? This poses problem when linking statically, because __mutex_lock_solid() then doesn't pull _pthread_mutex_lock() (since it already has a weak reference). The result is that on a stdio contention for instance, flockfile()'s __mutex_l

[debian-hurd-Patches][304048] #407114: unixodbc: FTBFS on hurd-i386 & kfreebsd-i386

2007-07-16 Thread debian-hurd-patches
Patches item #304048, was opened at 17/02/2007 01:27 >Status: Closed Priority: 3 Submitted By: Samuel Thibault (sthibaul-guest) Assigned to: Nobody (None) Summary: #407114: unixodbc: FTBFS on hurd-i386 & kfreebsd-i386 Category: None Group: None >Resolution: Fixed Initial Comment: see bts

Re: GCC Spec File for Profiling

2007-07-16 Thread Michael Banck
On Sat, Jul 14, 2007 at 11:38:59AM -0400, Michael Casadevall wrote: > It will take some time, I need to run GCC's regression tests before I'll > submit a patch; I don't want to unintentionally break something. If you > perfer I just submit a patch and not run regression testing, thats fine. In g

Re: GCC Spec File for Profiling

2007-07-16 Thread Michael Casadevall
It will take some time, I need to run GCC's regression tests before I'll submit a patch; I don't want to unintentionally break something. If you perfer I just submit a patch and not run regression testing, thats fine. Michael On Mon, 16 Jul 2007, Samuel Thibault wrote: Hi, Michael Casadevall

Re: GCC Spec File for Profiling

2007-07-16 Thread Samuel Thibault
Hi, Michael Casadevall, le Sat 14 Jul 2007 10:38:10 -0400, a écrit : > After some trail and error as well as reading up how static binaries work > and the difference between gcrt0 and gcrt1, I was able to fix the > profiling bug with a GCC spec file: Please submit a patch, yes. Samuel -- To

GCC Spec File for Profiling

2007-07-16 Thread Michael Casadevall
After some trail and error as well as reading up how static binaries work and the difference between gcrt0 and gcrt1, I was able to fix the profiling bug with a GCC spec file: %rename startfile old_startfile *startfile: %{!shared: %{!static: %{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt1.o%s}

Re: Compiling glibc-2.5

2007-07-16 Thread Michael Banck
On Mon, Jul 16, 2007 at 10:04:26PM +0800, k. bottle wrote: > I am trying to compiling glibc-2.5 on Hurd but have not succeeded until now. > I list my steps below and expect your help. > > (1) Install Hurd using Debian-k14-Hurd cd1. > > (2) apt-get libc0.3-dev and mig. > and so update glibc to ver

Re: Compiling glibc-2.5

2007-07-16 Thread k. bottle
I find there should be several patches by Thomas Schwinge, but where can I get them? I also read the "Building glibc 2.5 on Hurd" thread on bug-hurd, there seems are several patches attached. Is there a complete patch or a complete list of required patches? On 7/16/07, k. bottle <[EMAIL PROTECTED

Re: Compiling glibc-2.5

2007-07-16 Thread Barry deFreese
k. bottle wrote: Hi, I am trying to compiling glibc-2.5 on Hurd but have not succeeded until now. I list my steps below and expect your help. (1) Install Hurd using Debian-k14-Hurd cd1. (2) apt-get libc0.3-dev and mig. and so update glibc to version 2.5 and gcc to 4.1.3. (3) Download l

Compiling glibc-2.5

2007-07-16 Thread k. bottle
Hi, I am trying to compiling glibc-2.5 on Hurd but have not succeeded until now. I list my steps below and expect your help. (1) Install Hurd using Debian-k14-Hurd cd1. (2) apt-get libc0.3-dev and mig. and so update glibc to version 2.5 and gcc to 4.1.3. (3) Download lastest glibc-2.5 tarball