Skip to contentSkip to conversation

New: mplayer build issue

Buildroot bugzilla at busybox.net 1 participant 4 messages Aug 6, 2015 – Oct 14, 2015

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=8266

Summary: mplayer build issue
Product: buildroot
Version: 2015.05
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: s.siegert at atb-online.eu
CC: buildroot at uclibc.org
Estimated Hours: 0.0

with buildroot version 2015.05 and the following defconfig:

BR2_arm=y
BR2_cortex_a5=y
BR2_ARM_FPU_VFPV4D16=y BR2_DL_DIR="$(TOPDIR)/buildroot_download_cache/" BR2_BACKUP_SITE="http://sources.buildroot.net/" BR2_KERNEL_MIRROR="http://www.kernel.org/pub/"
BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOPDIR)/buildroot_ccache"
BR2_OPTIMIZE_3=y BR2_PACKAGE_OVERRIDE_FILE="$(TOPDIR)/local.mk" BR2_KERNEL_HEADERS_3_12=y
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_PTHREAD_DEBUG=y
BR2_GCC_VERSION_4_7_X=y BR2_EXTRA_GCC_CONFIG_OPTIONS="--with-float=hard --with-fpu=vfpv4-d16" BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_HOST_GDB=y
BR2_TARGET_OPTIMIZATION=" -pipe -mfpu=vfpv4-d16 -mfloat-abi=hard" BR2_TARGET_GENERIC_HOSTNAME=""
BR2_TARGET_GENERIC_ISSUE="" BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y BR2_TARGET_GENERIC_ROOT_PASSWD="devkit" BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y BR2_ROOTFS_OVERLAY="board/mcs/ptu4/overlay" BR2_ROOTFS_POST_BUILD_SCRIPT="board/mcs/ptu4/post-build.sh" BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-sama5d3ekdemo.config" BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_ALSA_UTILS_AMIXER=y BR2_PACKAGE_ALSA_UTILS_APLAY=y
BR2_PACKAGE_MPG123=y
BR2_PACKAGE_MPLAYER=y
BR2_PACKAGE_GDB=y
BR2_PACKAGE_LSOF=y
BR2_PACKAGE_MEMSTAT=y
BR2_PACKAGE_STRACE=y
BR2_PACKAGE_GREP=y
BR2_PACKAGE_SED=y
BR2_PACKAGE_TAR=y
BR2_PACKAGE_CIFS_UTILS=y
BR2_PACKAGE_DOSFSTOOLS=y
BR2_PACKAGE_MTD=y
# BR2_PACKAGE_MTD_FLASH_LOCK is not set
# BR2_PACKAGE_MTD_FLASH_UNLOCK is not set
BR2_PACKAGE_SSHFS=y
BR2_PACKAGE_BITSTREAM_VERA=y
BR2_PACKAGE_DEJAVU=y
BR2_PACKAGE_LIBERATION=y
BR2_PACKAGE_DIRECTFB=y
BR2_PACKAGE_DIRECTFB_EXAMPLES=y BR2_PACKAGE_DIRECTFB_EXAMPLES_ANDI=y BR2_PACKAGE_DIRECTFB_EXAMPLES_BLTLOAD=y BR2_PACKAGE_DIRECTFB_EXAMPLES_CPULOAD=y BR2_PACKAGE_DIRECTFB_EXAMPLES_DATABUFFER=y BR2_PACKAGE_DIRECTFB_EXAMPLES_DIOLOAD=y BR2_PACKAGE_DIRECTFB_EXAMPLES_DOK=y BR2_PACKAGE_DIRECTFB_EXAMPLES_DRIVERTEST=y BR2_PACKAGE_DIRECTFB_EXAMPLES_FIRE=y BR2_PACKAGE_DIRECTFB_EXAMPLES_FLIP=y BR2_PACKAGE_DIRECTFB_EXAMPLES_FONTS=y BR2_PACKAGE_DIRECTFB_EXAMPLES_INPUT=y BR2_PACKAGE_DIRECTFB_EXAMPLES_JOYSTICK=y BR2_PACKAGE_DIRECTFB_EXAMPLES_KNUCKLES=y BR2_PACKAGE_DIRECTFB_EXAMPLES_LAYER=y BR2_PACKAGE_DIRECTFB_EXAMPLES_MATRIX=y BR2_PACKAGE_DIRECTFB_EXAMPLES_MATRIX_WATER=y BR2_PACKAGE_DIRECTFB_EXAMPLES_NEO=y BR2_PACKAGE_DIRECTFB_EXAMPLES_NETLOAD=y BR2_PACKAGE_DIRECTFB_EXAMPLES_PALETTE=y BR2_PACKAGE_DIRECTFB_EXAMPLES_PARTICLE=y BR2_PACKAGE_DIRECTFB_EXAMPLES_PORTER=y BR2_PACKAGE_DIRECTFB_EXAMPLES_STRESS=y BR2_PACKAGE_DIRECTFB_EXAMPLES_TEXTURE=y BR2_PACKAGE_DIRECTFB_EXAMPLES_VIDEO=y BR2_PACKAGE_DIRECTFB_EXAMPLES_VIDEO_PARTICLE=y BR2_PACKAGE_DIRECTFB_EXAMPLES_WINDOW=y
BR2_PACKAGE_FBSET=y
BR2_PACKAGE_QT=y
BR2_PACKAGE_QT_LICENSE_APPROVED=y BR2_PACKAGE_QT_PIXEL_DEPTH_18=y BR2_PACKAGE_QT_PIXEL_DEPTH_24=y
# BR2_PACKAGE_QT_FONT_MICRO is not set
# BR2_PACKAGE_QT_FONT_FIXED is not set
# BR2_PACKAGE_QT_FONT_HELVETICA is not set BR2_PACKAGE_QT_SYSTEMFREETYPE=y
BR2_PACKAGE_QT_GIF=y
BR2_PACKAGE_QT_LIBMNG=y
BR2_PACKAGE_QT_SYSTEMJPEG=y
BR2_PACKAGE_QT_SYSTEMPNG=y
BR2_PACKAGE_QT_SYSTEMTIFF=y
BR2_PACKAGE_QT_SQL_MODULE=y
BR2_PACKAGE_QT_SQLITE_SYSTEM=y
BR2_PACKAGE_QT_GFX_DIRECTFB=y BR2_PACKAGE_QT_MOUSE_LINUXINPUT=y BR2_PACKAGE_QT_MOUSE_TSLIB=y BR2_PACKAGE_QT_MOUSE_NO_QWS_CURSOR=y BR2_PACKAGE_QT_KEYBOARD_LINUXINPUT=y
BR2_PACKAGE_QT_DBUS=y
BR2_PACKAGE_QT_XMLPATTERNS=y
BR2_PACKAGE_QT_MULTIMEDIA=y
BR2_PACKAGE_QT_AUDIO_BACKEND=y
BR2_PACKAGE_QT_WEBKIT=y
BR2_PACKAGE_QT_STL=y
BR2_PACKAGE_QT_OPENSSL=y
BR2_PACKAGE_QT_SCRIPTTOOLS=y
BR2_PACKAGE_QT_DECLARATIVE=y
BR2_PACKAGE_QEXTSERIALPORT=y
BR2_PACKAGE_QJSON=y
BR2_PACKAGE_CDRKIT=y
BR2_PACKAGE_EVTEST=y
BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON3_PY_PYC=y
BR2_PACKAGE_PYTHON_SERIAL=y
BR2_PACKAGE_LIBGCRYPT=y
BR2_PACKAGE_LIBGPGME=y
BR2_PACKAGE_SQLITE_READLINE=y
BR2_PACKAGE_SQLITE_STAT3=y
BR2_PACKAGE_SQLITE_ENABLE_FTS3=y BR2_PACKAGE_SQLITE_ENABLE_UNLOCK_NOTIFY=y BR2_PACKAGE_LIBUSB=y
BR2_PACKAGE_CPPZMQ=y
BR2_PACKAGE_CZMQ=y
BR2_PACKAGE_LIBCURL=y
BR2_PACKAGE_CURL=y
BR2_PACKAGE_ZMQPP=y
BR2_PACKAGE_ARGP_STANDALONE=y
BR2_PACKAGE_BOOST=y
BR2_PACKAGE_BOOST_CHRONO=y
BR2_PACKAGE_BOOST_CONTEXT=y
BR2_PACKAGE_BOOST_DATE_TIME=y
BR2_PACKAGE_BOOST_EXCEPTION=y
BR2_PACKAGE_BOOST_FILESYSTEM=y
BR2_PACKAGE_BOOST_GRAPH=y
BR2_PACKAGE_BOOST_GRAPH_PARALLEL=y BR2_PACKAGE_BOOST_IOSTREAMS=y
BR2_PACKAGE_BOOST_LOCALE=y
BR2_PACKAGE_BOOST_LOG=y
BR2_PACKAGE_BOOST_MATH=y
BR2_PACKAGE_BOOST_MPI=y
BR2_PACKAGE_BOOST_PROGRAM_OPTIONS=y BR2_PACKAGE_BOOST_RANDOM=y
BR2_PACKAGE_BOOST_REGEX=y
BR2_PACKAGE_BOOST_SERIALIZATION=y
BR2_PACKAGE_BOOST_SIGNALS=y
BR2_PACKAGE_BOOST_SYSTEM=y
BR2_PACKAGE_BOOST_TEST=y
BR2_PACKAGE_BOOST_THREAD=y
BR2_PACKAGE_BOOST_TIMER=y
BR2_PACKAGE_BOOST_WAVE=y
BR2_PACKAGE_LIBESMTP=y
BR2_PACKAGE_BC=y
BR2_PACKAGE_MCRYPT=y
BR2_PACKAGE_DHCP=y
BR2_PACKAGE_DHCP_CLIENT=y
BR2_PACKAGE_ETHTOOL=y
BR2_PACKAGE_IPERF=y
BR2_PACKAGE_IPROUTE2=y
BR2_PACKAGE_NETCAT=y
BR2_PACKAGE_PORTMAP=y
BR2_PACKAGE_PPPD=y
BR2_PACKAGE_PPPD_FILTER=y
BR2_PACKAGE_RSYNC=y
BR2_PACKAGE_SOCAT=y
BR2_PACKAGE_TINYHTTPD=y
BR2_PACKAGE_BASH=y
BR2_PACKAGE_FILE=y
BR2_PACKAGE_GNUPG_RSA=y
BR2_PACKAGE_GNUPG_GPGV=y
BR2_PACKAGE_LOGROTATE=y
BR2_PACKAGE_TIME=y
BR2_PACKAGE_COREUTILS=y
BR2_PACKAGE_KMOD=y
BR2_PACKAGE_UTIL_LINUX_LIBBLKID=y
BR2_PACKAGE_NANO=y
BR2_PACKAGE_VIM=y
# BR2_PACKAGE_VIM_RUNTIME is not set BR2_TARGET_ROOTFS_TAR_BZIP2=y
BR2_TARGET_ROOTFS_UBIFS=y BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000
BR2_TARGET_BAREBOX=y
BR2_TARGET_BAREBOX_CUSTOM_GIT=y BR2_TARGET_BAREBOX_CUSTOM_GIT_REPO_URL="" BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION="" BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="" BR2_TARGET_BAREBOX_BAREBOXENV=y
BR2_PACKAGE_HOST_MTD=y
BR2_PACKAGE_HOST_SAM_BA=y

fails to build with the following error:

In file included from libavcodec/dca.c:48:0:
libavcodec/dca.c: In function 'dca_subsubframe':
libavcodec/arm/dca.h:36:5: error: can't find a register in class 'CORE_REGS' while reloading 'asm'
libavcodec/arm/dca.h:36:5: error: 'asm' operand has impossible constraints libavcodec/dca.c:1275: confused by earlier errors, bailing out
CC libavformat/options.o
make[3]: *** [libavcodec/dca.o] Error 1

I use an OpenSuse 13.1 host to build a rootfs for an Atmel SAMA5 board. My defconfig is based on a working config for buildroot 2013.08

Please note, that the error occurs during building the mplayer included ffmpeg- package. Compiling the buildroot-ffmpeg-package (ffmpeg-2.6.2, BR2_PACKAGE_FFMPEG=y) works without problems.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 8266] mplayer build issue

https://bugs.busybox.net/show_bug.cgi?id=8266

--- Comment #1 from Thomas Petazzoni <[email protected]> 2015-08-06 21:03:43 UTC --- Thanks for your bug report. Can you make sure that the problem still occurs
after disabling ccache support and doing a "make clean all" ?

Also:

BR2_EXTRA_GCC_CONFIG_OPTIONS="--with-float=hard --with-fpu=vfpv4-d16" BR2_TARGET_OPTIMIZATION=" -pipe -mfpu=vfpv4-d16 -mfloat-abi=hard"

are not needed. If you want --with-float=hard, select EABIhf instead of EABI in the Target options. The FPU type is already passed since you selected BR2_ARM_FPU_VFPV4D16=y.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 8266] mplayer build issue

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=8266

--- Comment #2 from Siegfried Siegert <[email protected]> 2015-08-07 10:52:00 UTC --- (In reply to comment #1)

Quoted 2 lines

Can you make sure that the problem still occurs after disabling ccache support and doing a "make clean all" ?

same issue again after "make clean all" without ccache.

Quoted 9 lines

Also:

BR2_EXTRA_GCC_CONFIG_OPTIONS="--with-float=hard --with-fpu=vfpv4-d16" BR2_TARGET_OPTIMIZATION=" -pipe -mfpu=vfpv4-d16 -mfloat-abi=hard"

are not needed. If you want --with-float=hard, select EABIhf instead of EABI in the Target options. The FPU type is already passed since you selected BR2_ARM_FPU_VFPV4D16=y.

Made further tests with and without this options, also tried EABIhf instead of EABI (always "make clean all" after configuration change) without any different result.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 8266] mplayer build issue

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=8266

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #3 from Thomas Petazzoni <[email protected]> 2015-10-14 12:23:42 UTC --- Your defconfig (with just the post-build script, overlay, custom Busybox
config, and the custom cflags removed) builds fine with the current Buildroot
master. So I believe that the bug has been fixed (maybe due to the fact that
the gcc version has been upgraded).

I'll therefore close the bug. However, if you still see the issue, do not hesitate to re-open it. Thanks!

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.