Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 25 May 2013 12:26:04 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: util-linux-2.23 mount segmentation fault error

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

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.