[Crash-utility] timeout in eppic.mk

Dave Anderson anderson at redhat.com
Thu Aug 9 19:04:45 UTC 2012



----- Original Message -----
> 
> 
> ----- Original Message -----
> > Hi,
> > 
> > Here's an alternative patch for your consideration, which makes it
> > possible to point to e.g. a local eppic git.
> > 
> > It also builds ARM with '-m32'. This change is not enough to achieve
> > that however. Similar tweaks are needed in eppic itself.
> > 
> > Regards,
> > Per
> 
> Per,
> 
> Sorry I got to Cliff's patch before yours -- so can you rework
> your patch using the version of eppic.mk that is attached to:
> 
>   Re: [Crash-utility] [PATCH] allow various git command locations
>   https://www.redhat.com/archives/crash-utility/2012-August/msg00012.html
> 
> Thanks,
>   Dave

OK, I've shoehorned the EPPIC_GIT_URL environment variable check
into eppic.mk. 

But for now I'm leaving out your -m32 addition for ARM builds
until there's a complete solution for ARM.  Note that when I 
put the -m32 patch in place, the compile fails when building
ARM on an x86_64 host:

gcc -g -I.. -Ieppic/libeppic -I../gdb-7.3.1/bfd -I../gdb-7.3.1/include -I../gdb-7.3.1/gdb -I../gdb-7.3.1/gdb/config -I../gdb-7.3.1/gdb/common -I../gdb-7.3.1 -nostartfiles -shared -rdynamic -o eppic.so eppic/applications/crash/eppic.c -fPIC -DARM -m32 -DGDB_7_3_1 -Leppic/libeppic -leppic 
eppic/applications/crash/eppic.c: In function ‘apigetval’:
eppic/applications/crash/eppic.c:474: warning: cast from pointer to integer of different size
/usr/bin/ld: skipping incompatible eppic/libeppic/libeppic.a when searching for -leppic
/usr/bin/ld: cannot find -leppic
collect2: ld returned 1 exit status
make[4]: [eppic.so] Error 1 (ignored)

whereas without the -m32 at least it builds something (albeit probably useless).

Thanks,
  Dave




More information about the Crash-utility mailing list