看板 DFBSD_bugs 關於我們 聯絡資訊
On Wed, Mar 31, 2010 at 07:55:45PM +0000, David Shao (via DragonFly issue tracker) wrote: > Suppose on x86_64 some package, say scmgit-base, detects the existence of > memmem() yet because it too does not define any *VISIBLE uses an implicit > definition of memmem(), as is indicated in the build messages: : > Then the return value of the actual memmem() that should be (void *) I believe > suddenly becomes an int, so that what used to be a valid pointer after the > return is now possibly not a valid pointer on x86_64 if it is truncated and then > sign extended to a negative 64-bit number. For example, using > > git diff HEAD^ HEAD > > produces segmentation fault errors. This particular issue in git should have been solved in pkgsrc-HEAD, can you try updating the devel/scmgit-base directory and re-install it? Cheers.