Commit Graph

5 Commits

Author SHA1 Message Date
HATAYAMA Daisuke
dc890da863 Release 3.0-2
Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
2021-02-19 17:12:14 +09:00
HATAYAMA Daisuke
36ab175159 Makefile: fix build failure on aarch64 and ppc64le
commit 17c35d075f067d80fee112ae18365b8defa2ca5a (HEAD -> devel, origin/devel)
    Author: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
    Date:   Fri Feb 19 11:38:59 2021 +0900

	Makefile: fix build failure on aarch64 and ppc64le

	Currently, there is build failure on aarch64 and ppc64le as follows:

	    gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/crash -nostartfiles -shared -rdynamic -o trace.so trace.c -fPIC -D
	    gcc: error: macro name missing after '-D'

	The failure is caused by missing arguments for -D option because
	TARGET variable is empty.

	This commit fixes the issue by defining TARGET variable properly
	according to aarch64 and ppc64le.

	Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com>

Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
2021-02-19 17:12:12 +09:00
HATAYAMA Daisuke
c75489c8e3 Makefile: set DT_SONAME to trace.so
commit 153629a96b07a8ae96b0b28cce100fde9ea1398d (origin/master, origin/HEAD)
    Author: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
    Date:   Thu Jan 28 00:08:35 2021 -0500

	Makefile: set DT_SONAME to trace.so

	Fedora never requires SONAME versioning for plugins according to the
	Packaging Guidelines:

	    https://docs.fedoraproject.org/en-US/packaging-guidelines/#_downstream_so_name_versioning

	    In cases where upstream ships unversioned .so library (so this is
	    not needed for plugins, drivers, etc.), the packager MUST try to
	    convince upstream to start versioning it.

	On the other hand, fedpkg lint still prints warning if the shared
	library doesn't have DT_SONAME. To surpress this, we set DT_SONAME
	field to trace.so for in case.

	Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com>

Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
2021-02-19 17:11:44 +09:00
HATAYAMA Daisuke
468bcf71fb Initial import (#1919349). 2021-02-18 20:00:52 +09:00
Mohan Boddu
ccaaac77ab Added the README 2021-02-17 14:38:20 +00:00