Wind River Support Network

HomeDefectsLIN6-9317
Fixed

LIN6-9317 : CLONE - systemtap: build fails "_BSD_SOURCE and _SVID_SOURCE are deprecated"

Created: Jan 25, 2015    Updated: Dec 3, 2018
Resolved Date: Jan 25, 2015
Previous ID: LIN5-20019
Found In Version: 6.0.0.16
Fix Version: 6.0.0.17
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

systemtap fails to compile:

In file included from /usr/include/stdio.h:27:0,
                 from staprun.h:13,
                 from staprun.c:24:
/usr/include/features.h:148:3: error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^
...
Makefile:482: recipe for target 'staprun-staprun.o' failed


WRAXL build logs:
http://git.wrs.com/cgit/projects/wraxl/fails/.git/tree/?h=ti-omap3_world_bp-systemtap_git-2015-01-21-074218

Steps to Reproduce

Configure your build with:
--enable-board=ti-omap3 \
--enable-rootfs=glibc-std-sato \
--enable-kernel=standard \
--with-layer=wr-security,meta-selinux \
--enable-build=profiling \
--with-template=feature/analysis \
--enable-parallel-pkgbuilds=20 \
--enable-jobs=10 \
--enable-patchresolve=noop \
--enable-bootimage=noimage

Other Downloads


Live chat
Online