Package Details: oss-git 7cf6b07-1

Git Clone URL: (read-only)
Package Base: oss-git
Description: Open Sound System UNIX audio architecture
Upstream URL:
Keywords: oss
Licenses: GPL2
Conflicts: libflashsupport-oss, libflashsupport-oss-nonfree, oss, oss-nonfree
Provides: oss
Submitter: Nowaker
Maintainer: Galaxy
Last Packager: Galaxy
Votes: 22
Popularity: 0.048253
First Submitted: 2013-09-21 13:15
Last Updated: 2019-07-24 11:45

Required by (14)

Sources (10)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Midna commented on 2019-08-27 01:37

The package compiles fine, but the osscore module still throws a GLOBAL_OFFSET_TABLE error, except it is now error -2 instead of 0.

Using GCC 9.0.1. Any fix?

Galaxy commented on 2019-07-24 11:47

I merge the version on <>.

Added "-fno-pic -fno-PIE" for GCC > 5.

And change to "-O2" from "-O3".

Xylemon commented on 2019-07-24 03:15


export CC=gcc-5

export CXX=g++-5

export CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"

export CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"

That's all I added to the PKGBUILD, which worked for a while, although it seems I'm having trouble again with latest kernel. I've just given up again to be honest.

Galaxy commented on 2019-07-23 12:33

@Xylemon, Would you share your patch that make oss-git compile ?

Xylemon commented on 2019-07-22 20:48

I sadly can not get this to load unless I mod the script to compile with GCC5 (this is also with the GalaxyAUR Git repo). With latest GCC(9), osscore fails to load with this message:

[37591.137560] usbcore: deregistering interface driver oss_usb

[37613.232300] osscore: Unknown symbol GLOBAL_OFFSET_TABLE (err -2)

Unfortunately, another issue pops up when using OpenAL, see here:,1064.0.html

I hope these issues can be resolved.

Galaxy commented on 2019-04-24 17:12

I just find the latest support Intel HDA is 0x8c20, and I am using a348. If your sound card is not listed there, it is not supported.

  • 8c20 ("8 Series/C220 Series Chipset High Definition Audio Controller")
  • a348 ("Cannon Lake PCH cAVS")

Galaxy commented on 2019-04-24 10:52

@sliviu Is -no-pie necessary ?

It seems good to use -O2 as suggested by Gentoo make.conf. Their kernel even suggests -Os.

I cannot load the module with -no-pie, I change it to -fno-pic -fno-PIE on <>.

See also <>.

Starting at gcc 6.2.0-7 we must provide "-fno-PIE -fno-PIC" in
beginning of CFLAGS to build kernel successfully.

If someone reports OK, I will push it here.

The /usr/bin/soundon also need to be patched. But you can just modprobe osscore anyway.

alexdw commented on 2019-04-24 06:44

@Galaxy: Thanks - reassigned maintainer from me to you.

And yes - I also tended to follow the comments here, and on the oss forums (in particular the Linux subform) for new patches:

Galaxy commented on 2019-04-24 02:27

@alexdw Some questions on current PKGBUILD:

  1. Why configured with --enable-libsalsa=NO ? I find oss-nonfree come with

  2. The --config-midi=NO|YES seems not enabled by default. Why not append it with "YES" ?

  3. CONFIG_REGPARM=y should be available only on x86 kernels, override the automated checking with --regparm seems strange.

Galaxy commented on 2019-04-24 01:39

@alexdw I'd like to. Is this OK to follow comments here for new patches? As I am not familiar with kernel developing.

Also, I checked the oss-v4.2-build2019-src-gpl.tar.bz2 and find the code is the same as commit 7cf6b07f3256407a4b30608f0a8e55677b49942f on 2018/02/24 for "Compile fix for Linux kernel 4.15", except for some changes in devlists/FreeBSD and devlists/Solaris-sparc.