Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151230212832.GA23362@port70.net>
Date: Wed, 30 Dec 2015 22:28:33 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: Musl bug, or, am I losing my mind?

* Guided Muscle <atguarded-gizmo@...oo.com> [2015-12-30 20:04:41 +0000]:
> Make options:
> CC=musl-gcc
> CFLAGS=-O2 -s -static -fPIC -D_FILE_OFFSET_BITS=64 

-D_FILE_OFFSET_BITS=64 is noop on musl
-fPIC is not useful if you static link
(if you want position independent executable then use -fPIE)

> cat o.txt | cdb -c c.cdb  
> FAILED: cdb: (stdin): bad format
> 
> However 
> PASS: cdb -c c.cdb < o.txt

my guess is that cdb does not handle short reads properly

but you can see what's going on with strace

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.