Re: crash-4.0.9 cannot load extensions on i686

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- "Alex Sidorenko" <asid@xxxxxx> wrote:

> On October 5, 2009 01:04:43 pm Dave Anderson wrote:
> > Thanks -- I'll take a look.  It appears that the extension module
> > is passing this test in is_shared_object():
> >
> >   if (elf64->e_ident[EI_CLASS] == ELFCLASS64 ...
> >
> > What does "readelf -a" show for the echo.so file?  (I don't have
> > a handy x86 machine readily available at the moment...)
> 
> Hi Dave,
> 
> I have attached both the output of "readelf -a" and 32-bit echo.so
> file.
> 
> Cheers,
> Alex

4.0.9 regression -- patch attached.

Thanks for the report,
  Dave


--- symbols.c.orig	2009-10-05 14:58:55.000000000 -0400
+++ symbols.c	2009-10-05 14:59:21.000000000 -0400
@@ -2689,7 +2689,7 @@ is_shared_object(char *file)
 		switch (swap16(elf32->e_machine, swap))
 		{
 		case EM_386:
-			if (machine_type("x86"))
+			if (machine_type("X86"))
 				return TRUE;
 			break;
 
--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux