pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50212: devel/ffcall



>Number:         50212
>Category:       pkg
>Synopsis:       devel/ffcall
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 05 16:55:00 +0000 2015
>Originator:     Sergey Litvinov
>Release:        Darwin
>Organization:
ETH
>Environment:
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
>Description:
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

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

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

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

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



>How-To-Repeat:
make in devel/ffcall
>Fix:
I did what is suggested here
http://savannah.gnu.org/bugs/?36323

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/vacall.h.in .
/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
rm vacall.h.in

After .s files regeneration it compiles.


Home | Main Index | Thread Index | Old Index