patchDazuko - Patches: patch #5398, Fix compilation errors on Fedora...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5398: Fix compilation errors on Fedora Core 6 Test 2

Submitter:  Sami Tikka <sti>
Submitted:  Sat 16 Sep 2006 07:13:14 PM UTC
   
 
Assigned to:  None Open/Closed:  Closed

Thu 26 Oct 2006 08:59:22 AM UTC, comment #4: 

patch file #11011 has been committed to CVS and posted with 2.3.2-pre1.

John Ogness <ogman>
Group administrator
Mon 23 Oct 2006 06:35:19 AM UTC, comment #3: 

File #11011 also works with kernel-2.6.18-1.2798.fc6 (same configure line).

Kevin Kofler <kevinkofler>
Fri 20 Oct 2006 09:26:47 PM UTC, comment #2: 

I have tested my patch (file #11011) successfully with:
uname -r: 2.6.18-1.2200.fc5
configure line: ./configure --enable-syscalls --mapfile=/boot/System.map-`uname -r` --sct-readonly

Kevin Kofler <kevinkofler>
Fri 20 Oct 2006 09:22:30 PM UTC, comment #1: 

The devfs part has already been adressed in 2.3.1, so this is about the PT_DTRACE part:

  • The FC6 kernel is at 2.6.18 now (and the "2.6.17" ones actually were 2.6.18 prereleases too).
  • This now affects FC5 too (kernel 2.6.18-1.2200.fc5).
  • The linux-2.6-utrace.patch still hasn't been upstreamed, so keying this off kernel >= 2.6.18 is a bad idea. Upstream for that patch is: http://people.redhat.com/roland/utrace/ However, the utrace patch causes CONFIG_UTRACE to be defined (at least it is in FC5/FC6 - when the patch gets upstreamed, we will probably see kernels with the patch, but utrace not actually enabled), so we can check for that instead.


Moreover, including config.h is deprecated (it has been empty for a long time), so with FC5 you get a warning if you do this and with FC6 an error. Therefore, I'm disabling this for kernel >= 2.6.18.

I have attached an updated patch.

Kevin Kofler <kevinkofler>
Sat 16 Sep 2006 07:13:14 PM UTC, original submission:  

This patch fixes dazuko compilation errors on Fedora Core 6 Test 2.
Apparently kernel 2.6.17 no longer has devfs and there were couple of other small changes.

Sami Tikka <sti>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #11011:  dazuko_linux.c-utrace.diff added by kevinkofler (846B - text/x-diff - Updated Fedora patch for Dazuko 2.3.1)
file #10778:  dazuko-fedoracore6.patch added by sti (1KiB - text/x-patch - Patch to fix dazuko on FC6 Test2)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-10-26 ogman Open/ClosedOpen Closed
2006-10-20 kevinkofler Attached File- Added dazuko_linux.c-utrace.diff, #11011
2006-09-16 sti Attached File- Added dazuko-fedoracore6.patch, #10778

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code