pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/43094: benchmarks/bonnie does not compile
>Number: 43094
>Category: pkg
>Synopsis: benchmarks/bonnie does not compile
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 01 06:00:00 +0000 2010
>Originator: Stefan
>Release:
>Organization:
>Environment:
>Description:
benchmarks/bonnie does not compile (at least not under linux).
gcc -Wno-error -Wno-error -Werror -c bonnie.c
bonnie.c: In function 'main':
bonnie.c:318: error: left shift count >= width of type
*** Error code 1
this is line 318:
if (size < ((off_t)1 << 32)) /* From FreeBSD */
>How-To-Repeat:
bmake
>Fix:
compile with -D_FILE_OFFSET_BITS=64
Home |
Main Index |
Thread Index |
Old Index