NetBSD Problem Report #50212

From  Sat Sep  5 16:51:32 2015
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id C1FACA654F
	for <>; Sat,  5 Sep 2015 16:51:32 +0000 (UTC)
Message-Id: <>
Date: Sat,  5 Sep 2015 16:51:31 +0000 (UTC)
Subject: devel/ffcall
X-Send-Pr-Version: www-1.0

>Number:         50212
>Category:       pkg
>Synopsis:       devel/ffcall
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    adam
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 05 16:55:00 +0000 2015
>Last-Modified:  Mon Dec 28 12:25:09 +0000 2015
>Originator:     Sergey Litvinov
>Release:        Darwin
Darwin osx 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
devel/ffcall fails to compile with the following error message
cd avcall; /Users/lisergey/prefix-pkgsrc-master64/bin/bmake all
case "darwin14" in  solaris*) xnone=""; exten="c";;  *) xnone="-x none"; exten="s";;  esac;  /bin/sh ./libtool --mode=compile clang ${xnone} -c ./avcall-x86_64.${exten}
libtool: compile:  clang -x none -c ./avcall-x86_64.s  -fno-common -DPIC -o .libs/avcall-x86_64.o
./avcall-x86_64.s:5:2: error: unknown directive
 .type __builtin_avcall,@function
./avcall-x86_64.s:331:2: error: unknown directive
 .size __builtin_avcall,.Lfe1-__builtin_avcall
./avcall-x86_64.s:332:11: error: mach-o section specifier uses an unknown section type
 .section .eh_frame,"aw",@progbits
*** Error code 1

bmake[1]: stopped in /Users/lisergey/src/pkgsrc/devel/ffcall/work/ffcall-1.10/avcall
*** Error code 1

bmake: stopped in /Users/lisergey/src/pkgsrc/devel/ffcall/work/ffcall-1.10
*** Error code 1

bmake[1]: stopped in /Users/lisergey/src/pkgsrc/devel/ffcall
*** Error code 1

bmake: stopped in /Users/lisergey/src/pkgsrc/devel/ffcall

make in devel/ffcall
I did what is suggested here

from devel/ffcal run

cd work/ffcall-1.10/avcall/
/usr/local/bin/gcc-5 -O2 -fomit-frame-pointer -D__x86_64__ -S avcall-x86_64.c -o avcall-x86_64.s

cd ../vacall/
/usr/local/bin/gcc-5 -O2 -fomit-frame-pointer -DHAVE_LONG_LONG_INT -D__x86_64__ -S vacall-x86_64.c -o vacall-x86_64.s

cd ../callback/vacall_r/
cp -i ../../vacall/ .
/usr/local/bin/gcc-5 -O2 -fomit-frame-pointer -DHAVE_LONG_LONG_INT -DREENTRANT -D__x86_64__ -S vacall-x86_64.c -o vacall-x86_64.s

After .s files regeneration it compiles.



Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-When: Mon, 28 Dec 2015 12:25:09 +0000
Over to maintainer.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.