generic-poky/meta/recipes-devtools
Marek Vasut c8fef7fb2d gcc5: Fix build on NIOS2
The gcc 5.3 does not build on NIOS2 due to a missing MUSL_DYNAMIC_LINKER
definition in it's config file. Add the definition to fix the build issue.
The output produced during the failing build is as follows:

g++    -isystem/b/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -L/b/tmp/sysroots/x86_64-linux/usr/lib -L/b/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/b/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/b/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/b/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/b/tmp/sysroots/x86_64-linux/lib -Wl,-O1 gcc-ar.o -o gcc-ar \
        file-find.o libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
In file included from ./tm.h:27:0,
                 from /b/tmp/work-shared/gcc-5.3.0-r0/gcc-5.3.0/gcc/gcc.c:34:
./config/linux.h:92:28: error: expected ',' or ';' before 'MUSL_DYNAMIC_LINKER'
     BIONIC_DYNAMIC_LINKER, MUSL_DYNAMIC_LINKER)
                            ^
./config/linux.h:59:60: note: in definition of macro 'CHOOSE_DYNAMIC_LINKER1'
   "%{" LIBC2 ":" LD2 ";:%{" LIBC3 ":" LD3 ";:%{" LIBC4 ":" LD4 ";:" LD1 "}}}"
                                                            ^
./config/linux.h:91:3: note: in expansion of macro 'CHOOSE_DYNAMIC_LINKER'
   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER, \
   ^
./config/nios2/linux.h:40:25: note: in expansion of macro 'GNU_USER_DYNAMIC_LINKER'
       -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
                         ^
/b/tmp/work-shared/gcc-5.3.0-r0/gcc-5.3.0/gcc/gcc.c:884:32: note: in expansion of macro 'LINK_SPEC'
 static const char *link_spec = LINK_SPEC;
                                ^
<command-line>:0:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/b/tmp/work-shared/gcc-5.3.0-r0/gcc-5.3.0/gcc/gcc.c:1295:48: note: in expansion of macro 'STANDARD_STARTFILE_PREFIX'
 static char *const standard_startfile_prefix = STANDARD_STARTFILE_PREFIX;

(From OE-Core rev: c8ec931b07c08e27027b38313e6776875db12acb)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-11 23:26:30 +00:00
..
apt meta: more removals of redunant FILES_${PN}-dbg 2015-12-16 11:56:30 +00:00
autoconf autoconf: Disable macro which causes excessive delays when using dash as sh 2015-12-14 22:30:56 +00:00
autogen package_regex.inc: split the rest of the entries to their recipes 2015-12-08 10:20:52 +00:00
automake automake: Remove delays in configure scripts using automake 2015-12-14 22:30:56 +00:00
binutils meta: more removals of redunant FILES_${PN}-dbg 2015-12-16 11:56:30 +00:00
bison meta: Fix Upstream-Status statements 2015-09-12 23:01:53 +01:00
bootchart2 meta: more removals of redunant FILES_${PN}-dbg 2015-12-16 11:56:30 +00:00
btrfs-tools btrfs-tools: update to 4.3.1 2015-12-28 09:25:15 +00:00
build-compare build-compare: drop PATCHTOOL setting 2015-10-19 17:57:57 +01:00
ccache ccache: fix file name too long 2015-09-23 09:52:50 +01:00
cdrtools cdrtools-native: update to 3.01 final 2015-12-16 12:12:18 +00:00
chrpath package_regex.inc: split the rest of the entries to their recipes 2015-12-08 10:20:52 +00:00
cmake cmake: Add nios2 support 2015-12-09 08:48:26 +00:00
desktop-file-utils Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
devel-config recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues 2014-02-17 15:28:59 +00:00
diffstat diffstat: Add TOOLCHAIN_OPTIONS to Linker calls 2015-08-30 12:35:55 +01:00
distcc distcc: update SRC_URI to not use Google Code 2015-08-11 09:28:51 -07:00
dmidecode dmidecode: update to 3.0 2015-12-16 12:12:17 +00:00
docbook-dsssl-stylesheets package_regex.inc: split sourceforge related entries to their own recipes 2015-12-08 10:20:52 +00:00
docbook-sgml-dtd package_regex.inc: split entries which blacklist specific versions to their recipes 2015-12-08 10:20:52 +00:00
docbook-utils docbook-utils-native: Unbreak the build after source and build dir split 2013-03-25 20:51:19 +00:00
docbook-xml docbook-xsl-stylesheets: fix UPSTREAM_CHECK_REGEX 2015-12-16 12:12:17 +00:00
dosfstools package_regex.inc: split the rest of the entries to their recipes 2015-12-08 10:20:52 +00:00
dpkg dpkg: update to 1.18.2 2015-09-01 11:44:03 +01:00
e2fsprogs e2fsprogs: backport a patch to fix filetype for hardlink 2015-10-27 07:24:28 +00:00
elfutils meta: Fix Upstream-Status statements 2015-09-12 23:01:53 +01:00
expect meta: Drop now pointless manual -dbg packaging 2015-12-16 11:56:30 +00:00
fdisk gptfdisk: update to 1.0.1 2015-12-28 09:25:14 +00:00
file package_regex.inc: split GITTAGREGEX entries into recipe files 2015-12-08 10:20:51 +00:00
flex flex: update to 2.6.0 2015-12-22 16:08:51 +00:00
gcc gcc5: Fix build on NIOS2 2016-01-11 23:26:30 +00:00
gdb gdb: Fix build with musl 2015-12-12 23:42:55 +00:00
git meta: Drop now pointless manual -dbg packaging 2015-12-16 11:56:30 +00:00
gnu-config gnu-config: Update git version to latest and use it 2015-08-11 09:28:48 -07:00
guile guile: remove redundant replacement of .pc file 2015-12-28 09:25:17 +00:00
guilt guilt-native: set PV in the recipe to allow upstream version check 2015-08-01 07:34:08 +01:00
help2man help2man-native: 1.46.4 -> 1.47.1 2015-07-31 10:32:43 +01:00
i2c-tools i2c-tools: fix inverted RDEPENDS 2015-10-21 22:56:04 +01:00
icecc-create-env icecc-create-env-native: add SUMMARY and tweak DESCRIPTION 2014-01-02 12:50:23 +00:00
icon-naming-utils icon-naming-utils: separate B and S 2015-01-16 23:08:27 +00:00
installer adt-installer: No need to mark as nostamp 2015-10-01 07:43:36 +01:00
intltool package_regex.inc: split the rest of the entries to their recipes 2015-12-08 10:20:52 +00:00
json-c json-c: add manual upstream version check 2015-12-12 23:42:54 +00:00
kconfig-frontends recipes: Delete superfluous assignments, S = ${WORKDIR}/${BP} 2015-02-24 17:41:44 +00:00
libtool libtool: Fix nios2 support 2015-09-23 09:53:08 +01:00
linuxdoc-tools linuxdoc-tools-native: Makedoc.sh uses /tmp and fails w/ noexec mount 2014-10-06 16:03:13 +01:00
m4 m4: Drop unused/unreferenced patch 2015-12-18 12:18:19 +00:00
make make: upgrade to 4.1 2014-12-23 10:18:20 +00:00
makedevs makedevs: set and handle S in a proper way 2015-01-23 11:36:27 +00:00
mkelfimage mkelfimage: fix owner for /usr/sbin/mkelfImage 2015-09-18 09:05:27 +01:00
mklibs meta: Fix Upstream-Status statements 2015-09-12 23:01:53 +01:00
mmc mmc-utils: set SUMMARY instead of DESCRIPTION 2015-11-16 11:39:38 +00:00
mtd mtd-utils: update to 1.5.2 2015-12-16 12:12:17 +00:00
mtools mtools: Use proper glibc override to add glibc packages to recommendations 2015-12-12 23:42:55 +00:00
nasm nasm: 2.11.06 -> 2.11.08 2015-05-30 22:26:12 +01:00
openjade openjade: Fix build if not installing libtool .la files 2016-01-07 13:40:15 +00:00
opensp guile, mailx, gcc, opensp, gstreamer1.0-libav, libunwind: disable thumb where it fails for qemuarm 2015-12-01 21:32:06 +00:00
opkg opkg: upgrade to v0.3.1 2015-12-22 16:08:51 +00:00
opkg-utils opkg-utils: add update-alternatives PACKAGECONFIG 2016-01-11 23:26:29 +00:00
orc orc: Add missing PACKAGES_DYNAMIC 2016-01-06 15:27:33 +00:00
ossp-uuid meta: Fix Upstream-Status statements 2015-09-12 23:01:53 +01:00
packagegroups packagegroup-*: add RREPLACES/RCONFLICTS 2012-09-04 18:03:18 +01:00
patch meta: Fix Upstream-Status statements 2015-09-12 23:01:53 +01:00
patchelf patchelf: Add patchelf recipe 2014-08-28 15:12:42 +01:00
pax-utils pax-utils: 1.0.3 -> 1.0.5 2015-07-31 10:32:44 +01:00
perl libxml-simple-perl: update to 2.22 2015-12-16 12:12:17 +00:00
pkgconfig pkgconfig: merge .bb and .inc 2015-12-01 21:32:10 +00:00
postinst-intercept postinst-intercept: rename recipe for nativesdk only 2014-11-20 14:08:14 +00:00
prelink prelink: Fix various prelink issues on IA32, ARM, and MIPS. 2015-11-16 11:39:34 +00:00
pseudo meta: Drop now pointless manual -dbg packaging 2015-12-16 11:56:30 +00:00
python python3: fix installed-vs-shipped when 64bit + multilib 2016-01-07 13:40:17 +00:00
qemu qemu: add PACKAGECONFIG for Nettle crypto support 2015-12-28 09:25:20 +00:00
quilt quilt: fix the deps for ptest 2015-08-16 22:40:55 +01:00
remake package_regex.inc: split GITTAGREGEX entries into recipe files 2015-12-08 10:20:51 +00:00
rpm rpmresolve.c: Fix unfreed pointers that keep DB opened 2016-01-11 23:26:30 +00:00
rsync rsync: use ${sysconfdir} instead of hardcoding /etc 2015-07-31 10:32:37 +01:00
ruby meta: more removals of redunant FILES_${PN}-dbg 2015-12-16 11:56:30 +00:00
run-postinsts opkg: upgrade to v0.3.0 2015-09-03 12:43:14 +01:00
sgml-common sgml-common-native: fix the generation of sgml-docbook.cat 2014-03-19 14:42:43 +00:00
sgmlspl package_regex.inc: split GITTAGREGEX entries into recipe files 2015-12-08 10:20:51 +00:00
squashfs-tools squashfs-tools: Define FNM_EXTMATCH if not defined 2015-12-12 23:42:55 +00:00
strace meta: Fix Upstream-Status statements 2015-09-12 23:01:53 +01:00
subversion subversion: update to 1.9.2 2015-12-12 23:42:54 +00:00
swabber Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
swig swig: set SUMMARY instead of DESCRIPTION 2015-11-16 11:39:37 +00:00
syslinux syslinux: Dont bypass gcc driver for dependency generation options 2015-09-23 09:53:02 +01:00
tcf-agent package_regex.inc: split GITTAGREGEX entries into recipe files 2015-12-08 10:20:51 +00:00
tcltk tcl: 8.6.3 -> 8.6.4 2015-04-21 07:20:25 +01:00
unfs3 unfs3: update to r497 2015-12-16 12:12:17 +00:00
unifdef unifdef: upgrade to 2.11 2015-12-16 12:12:15 +00:00
vala meta: more removals of redunant FILES_${PN}-dbg 2015-12-16 11:56:30 +00:00
valgrind valgrind: Define __UCLIBC__ for uclibc based systems 2016-01-07 13:40:15 +00:00
xmlto meta: Fix Upstream-Status statements 2015-09-12 23:01:53 +01:00
yasm yasm: 1.2.0 -> 1.3.0 2015-06-11 23:59:15 +01:00
zisofs-tools Revert "zisofs-tools-native: Add missing dependency on zlib-native" 2014-03-31 23:04:35 +01:00