Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2021 16:53:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 254481] lang/fpc: drop dependency on COMPAT_FREEBSD10
Message-ID:  <bug-254481-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254481

            Bug ID: 254481
           Summary: lang/fpc: drop dependency on COMPAT_FREEBSD10
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
          Assignee: acm@FreeBSD.org
             Flags: maintainer-feedback?(acm@FreeBSD.org)

Created attachment 223502
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D223502&action=
=3Dedit
fix

rtl/bsd/bunxsysc.inc defines PIPE_RESULT_IN_EAX_AND_EDX on FreeBSD which ma=
kes
FPpipe use inline asm instead of do_syscall. Fix by adopting Linux definiti=
on
i.e., pass 0 as flags (2nd) argument

$ make clean all -C lang/fpc
[...]
./fpmake compile --localunitdir=3D../.. --globalunitdir=3D.. --os=3Dfreebsd
--cpu=3Dx86_64 -o -Cg -o -dx86_64
--compiler=3D/usr/ports/lang/fpc/work/fpc-3.2.0/compiler/ppcx64 -bu
gmake[1]: *** [Makefile:2484: all] Bad system call

$ truss packages/fcl-res/fpmake |& fgrep 'not implemented'
compat10.pipe()                                  ERR#78 'Function not
implemented'

$ sysctl kern.conftxt | fgrep -i compat
options COMPAT_LINUXKPI
options COMPAT_FREEBSD12
options COMPAT_FREEBSD11
options COMPAT_FREEBSD32

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254481-7788>