|
Message-ID: <CAGSZau3RKk33wO2dvHna_5ndFg3ob7j_RhK4vU2=FriBr2jnWA@mail.gmail.com> Date: Sun, 26 May 2013 06:34:12 +0900 From: plan9assembler <plan9assembler@...il.com> To: musl@...ts.openwall.com Subject: Re: util-linux-2.23 mount segmentation fault error Hi, i attached build log, and i have commented out text-utils/pg.c://#include <sys/termios.h> changed __sighandler_t to sighandler_t fdisks/cfdisk.c:sighandler_t old_SIGINT, old_SIGTERM; On Sun, May 26, 2013 at 1:26 AM, Rich Felker <dalias@...ifal.cx> wrote: > On Sun, May 26, 2013 at 12:46:17AM +0900, plan9assembler wrote: > > Hi, > > > > i had compile util-linux-2.23 successfully, but when i test mount binary, > > it getting segmentation fault. > > > http://plan9assembler.wordpress.com/2013/05/25/udev-in-x86_64-linux-musl/ > > Did you get any warnings building it? My best guess, since you're on a > 64-bit system, is that mount used some function which returns a > pointer without having a prototype in scope, and thus the return value > got treated as an int then extended to a pointer via gcc's harmful > implicit int-to-pointer conversion. > > Rich > Content of type "text/html" skipped Download attachment "build.log" of type "application/octet-stream" (21533 bytes)
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.