On Tue, 2006-05-09 at 23:28 +0200, rpurdie commit wrote:
> Add pcmciautils 013 including patches to remove hardcoded paths and a
> workaround
> for the toolchain bug that causes pccardctl to segfault
<snip>
> + static void print_header(void) {
> +- printf("pcmciautils %s\n", PCMCIAUTILS_VERSION);
> ++ printf("pcmciautils 013\n");
> + printf("Copyright (C) 2004-2005 Dominik Brodowski, (C) 1999 David A.
> Hinds\n");
> + printf("Report errors and bugs to <[EMAIL PROTECTED]>, please.\n");
> + }
<snip>
> +CFLAGS =+ '-DPCMCIAUTILS_VERSION=013'
<snip>
That's not a toolchain bug. With the CFLAGS defined in the .bb the
preprocessor will expand the above to
printf("pcmciautils %s\n", 013);
which has a pretty good chance of segfaulting.
Rene
--
Rene Wagner
rw at handhelds dot org
4F33 7FD7 93B3 166B BADA D6F8 71A1 FEA8 58B4 36D0
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Oe mailing list [email protected] https://www.handhelds.org/mailman/listinfo/oe
