[arch-ports] bc -l segfaults

Anders Bergh anders1 at gmail.com
Thu Jun 5 13:25:43 EDT 2008


On Thu, Jun 5, 2008 at 12:59 PM, Alexander Baldeck
<kth5 at archlinuxppc.org> wrote:
> Simone Basso wrote:
>> The bc command segfaults when evaluating the result of an
>> expression, iff invoked with -l command line switch, as
>> follows:
>>
>>    $ bc -lq
>>    1.4 / 2
>>    Segmentation fault
>>    $ bc -q
>>    12/4
>>    3
>>    $
>>
>> The installed package is:
>>
>>    bc 1.06-4
>>
>
> Would be interesting which port you are talking about. :)
>
> Cheers,
>
> -G
>
> _______________________________________________
> arch-ports mailing list
> arch-ports at archlinux.org
> http://archlinux.org/mailman/listinfo/arch-ports
>

Seems like he's talking about the ppc port, I went to check the
PKGBUILD and it had something like this:

  if [ "$CARCH" = "x86_64" ] && CFLAGS="-O0"

I did the same but for ppc, and it doesn't crash now. I updated the
package and uploaded it.

Anders




More information about the arch-ports mailing list