Re: [PATCH] devfsd, compiling on glibc22x

2001-02-04 Thread Richard Gooch
Ulrich Drepper writes: > Richard Gooch <[EMAIL PROTECTED]> writes: > > > So why do old binaries (compiled with glibc 2.1.3) segfault when they > > call dlsym() with RTLD_NEXT? Even newly compiled binaries (with glibc > > 2.2) still segfault. > > What do you ask me? You wrote the code. But

Re: [PATCH] devfsd, compiling on glibc22x

2001-02-04 Thread Ulrich Drepper
Richard Gooch <[EMAIL PROTECTED]> writes: > So why do old binaries (compiled with glibc 2.1.3) segfault when they > call dlsym() with RTLD_NEXT? Even newly compiled binaries (with glibc > 2.2) still segfault. What do you ask me? You wrote the code. -- ---.

Re: [PATCH] devfsd, compiling on glibc22x

2001-02-04 Thread Richard Gooch
Ulrich Drepper writes: > Pierre Rousselet <[EMAIL PROTECTED]> writes: > > > for me : > > make CFLAGS='-O2 -I. -D_GNU_SOURCE' > > compiles without any patch. is it correct ? > > Yes. RTLD_NEXT is not in any standard, it's an extension available > via -D_GNU_SOURCE. So why do old binaries

Re: [PATCH] devfsd, compiling on glibc22x

2001-02-04 Thread Richard Gooch
Ulrich Drepper writes: Pierre Rousselet [EMAIL PROTECTED] writes: for me : make CFLAGS='-O2 -I. -D_GNU_SOURCE' compiles without any patch. is it correct ? Yes. RTLD_NEXT is not in any standard, it's an extension available via -D_GNU_SOURCE. So why do old binaries (compiled with

Re: [PATCH] devfsd, compiling on glibc22x

2001-02-04 Thread Ulrich Drepper
Richard Gooch [EMAIL PROTECTED] writes: So why do old binaries (compiled with glibc 2.1.3) segfault when they call dlsym() with RTLD_NEXT? Even newly compiled binaries (with glibc 2.2) still segfault. What do you ask me? You wrote the code. -- ---.

Re: [PATCH] devfsd, compiling on glibc22x

2001-02-04 Thread Richard Gooch
Ulrich Drepper writes: Richard Gooch [EMAIL PROTECTED] writes: So why do old binaries (compiled with glibc 2.1.3) segfault when they call dlsym() with RTLD_NEXT? Even newly compiled binaries (with glibc 2.2) still segfault. What do you ask me? You wrote the code. But you wrote

Re: [PATCH] devfsd, compiling on glibc22x

2001-01-28 Thread Albert D. Cahalan
Ulrich Drepper writes: > Pierre Rousselet <[EMAIL PROTECTED]> writes: > >> for me : >> make CFLAGS='-O2 -I. -D_GNU_SOURCE' >> compiles without any patch. is it correct ? > > Yes. RTLD_NEXT is not in any standard, it's an extension available > via -D_GNU_SOURCE. This isn't a HURD feature. This

Re: [PATCH] devfsd, compiling on glibc22x

2001-01-28 Thread Douglas Gilbert
While on the subject of devfs: - it doesn't seem to have any entries for raw devices: /dev/rawctl, /dev/raw/raw1, etc - when I upgraded to glibc 2.2 (via a rpm) in RH 7.0 this line in /etc/devfsd.conf caused devfsd to seg fault: "LOOKUP ^cdrom$ CFUNCTION GLOBAL

Re: [PATCH] devfsd, compiling on glibc22x

2001-01-28 Thread David Ford
Ulrich Drepper wrote: > Pierre Rousselet <[EMAIL PROTECTED]> writes: > > > for me : > > make CFLAGS='-O2 -I. -D_GNU_SOURCE' > > compiles without any patch. is it correct ? > > Yes. RTLD_NEXT is not in any standard, it's an extension available > via -D_GNU_SOURCE. Ok, how about we all tag

Re: [PATCH] devfsd, compiling on glibc22x

2001-01-28 Thread David Ford
Ulrich Drepper wrote: Pierre Rousselet [EMAIL PROTECTED] writes: for me : make CFLAGS='-O2 -I. -D_GNU_SOURCE' compiles without any patch. is it correct ? Yes. RTLD_NEXT is not in any standard, it's an extension available via -D_GNU_SOURCE. Ok, how about we all tag Richard until he

Re: [PATCH] devfsd, compiling on glibc22x

2001-01-28 Thread Douglas Gilbert
While on the subject of devfs: - it doesn't seem to have any entries for raw devices: /dev/rawctl, /dev/raw/raw1, etc - when I upgraded to glibc 2.2 (via a rpm) in RH 7.0 this line in /etc/devfsd.conf caused devfsd to seg fault: "LOOKUP ^cdrom$ CFUNCTION GLOBAL

Re: [PATCH] devfsd, compiling on glibc22x

2001-01-28 Thread Albert D. Cahalan
Ulrich Drepper writes: Pierre Rousselet [EMAIL PROTECTED] writes: for me : make CFLAGS='-O2 -I. -D_GNU_SOURCE' compiles without any patch. is it correct ? Yes. RTLD_NEXT is not in any standard, it's an extension available via -D_GNU_SOURCE. This isn't a HURD feature. This isn't even a

Re: [PATCH] devfsd, compiling on glibc22x

2001-01-27 Thread Ulrich Drepper
Pierre Rousselet <[EMAIL PROTECTED]> writes: > for me : > make CFLAGS='-O2 -I. -D_GNU_SOURCE' > compiles without any patch. is it correct ? Yes. RTLD_NEXT is not in any standard, it's an extension available via -D_GNU_SOURCE. -- ---. ,-. 1325

Re: [PATCH] devfsd, compiling on glibc22x

2001-01-27 Thread Pierre Rousselet
David Ford wrote: > > This patch is simple, defines RTLD_NEXT if not previously defined. > > --- devfsd.c.orig Sat Jan 27 18:14:19 2001 > +++ devfsd.cSat Jan 27 18:15:46 2001 > @@ -165,6 +165,7 @@ > Last updated by Richard Gooch 3-JUL-2000: Added "-C > /etc/modules.devfs" >

[PATCH] devfsd, compiling on glibc22x

2001-01-27 Thread David Ford
This patch is simple, defines RTLD_NEXT if not previously defined. --- devfsd.c.orig Sat Jan 27 18:14:19 2001 +++ devfsd.cSat Jan 27 18:15:46 2001 @@ -165,6 +165,7 @@ Last updated by Richard Gooch 3-JUL-2000: Added "-C /etc/modules.devfs" when calling modprobe(8). Fail if a

[PATCH] devfsd, compiling on glibc22x

2001-01-27 Thread David Ford
This patch is simple, defines RTLD_NEXT if not previously defined. --- devfsd.c.orig Sat Jan 27 18:14:19 2001 +++ devfsd.cSat Jan 27 18:15:46 2001 @@ -165,6 +165,7 @@ Last updated by Richard Gooch 3-JUL-2000: Added "-C /etc/modules.devfs" when calling modprobe(8). Fail if a

Re: [PATCH] devfsd, compiling on glibc22x

2001-01-27 Thread Pierre Rousselet
David Ford wrote: This patch is simple, defines RTLD_NEXT if not previously defined. --- devfsd.c.orig Sat Jan 27 18:14:19 2001 +++ devfsd.cSat Jan 27 18:15:46 2001 @@ -165,6 +165,7 @@ Last updated by Richard Gooch 3-JUL-2000: Added "-C /etc/modules.devfs" when

Re: [PATCH] devfsd, compiling on glibc22x

2001-01-27 Thread Ulrich Drepper
Pierre Rousselet [EMAIL PROTECTED] writes: for me : make CFLAGS='-O2 -I. -D_GNU_SOURCE' compiles without any patch. is it correct ? Yes. RTLD_NEXT is not in any standard, it's an extension available via -D_GNU_SOURCE. -- ---. ,-. 1325 Chesapeake