[Bug 244353] x11-drivers/xf86-video-scfb: Unbreak on xorg-server 1.20.7 (and minor cleanup)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 23 22:36:14 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244353

            Bug ID: 244353
           Summary: x11-drivers/xf86-video-scfb: Unbreak on xorg-server
                    1.20.7 (and minor cleanup)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11 at FreeBSD.org
          Reporter: grembo at FreeBSD.org
             Flags: maintainer-feedback?(x11 at FreeBSD.org)
          Assignee: x11 at FreeBSD.org

Created attachment 211875
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211875&action=edit
Fix undefined symbol problem in scfb video driver

Besides pulling in the patch from github, this also does some
minor cleanup to pacify portlint.

See https://github.com/rayddteam/xf86-video-scfb/pull/4

When loading scfb on xorg 1.20.7 it fails with an
undefined symbol error:

scfb trace: probe start
scfb trace: probe done
scfb: PreInit 0
scfb: PreInit done
scfb: ScfbScreenInit 0
bitsPerPixel=32, depth=24, defaultVisual=TrueColor
mask: ff0000,ff00,ff, offset: 16,8,0
mmap returns: addr 0x805a10000 len 0x640000, fd 12, off 0
scfb: ScfbSave 0
scfb: ScfbSave done
scfb: ScfbScreenInit done
ld-elf.so.1: /usr/local/lib/xorg/modules/drivers/scfb_drv.so: Undefined
symbol "shadowUpdatePackedWeak"

Disabling ShadowFB makes the driver load, but breaks output.

With this fix, the driver loads and was reported to work
properly (at least for "normal" daily use).

The fix was inspired by a similar change in fbdev:
freedesktop/xf86-video-fbdev at 2673e72

Fix tested on two machines, port build qa with poudriere testport
on amd64 and i386 still running.

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


More information about the freebsd-x11 mailing list