From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 12106] New: daq: build fails if libdumbnet-dev is installed in the host
Date: Wed, 14 Aug 2019 10:29:37 +0000 [thread overview]
Message-ID: <bug-12106-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=12106
Bug ID: 12106
Summary: daq: build fails if libdumbnet-dev is installed in the
host
Product: buildroot
Version: 2018.11
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: ggarcia at marvell.com
CC: buildroot at uclibc.org
Target Milestone: ---
Same as what happened with https://bugs.busybox.net/show_bug.cgi?id=12096
When compiling daq package, the build fails if the user has libdumbnet-dev
installed in the host system. It tries to add the host's /usr/include
see log bellow:
/bin/bash ../libtool --tag=CC --mode=compile
/home/gorkag/project/host/bin/aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra
-Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing
-fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o daq_base.lo
daq_base.c
libtool: compile: /home/gorkag/project/host/bin/aarch64-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -fvisibility=hidden -Wall -Wwrite-strings
-Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security
-Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic
-std=c99 -D_GNU_SOURCE -c daq_base.c -fPIC -DPIC -o .libs/daq_base.o
aarch64-linux-gnu-gcc: ERROR: unsafe header/library path used in
cross-compilation: '-I/usr/include'
make[4]: *** [Makefile:453: daq_base.lo] Error 1
make[3]: *** [Makefile:406: all-recursive] Error 1
make[2]: *** [Makefile:338: all] Error 2
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2019-08-14 10:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-14 10:29 bugzilla at busybox.net [this message]
2019-08-15 13:16 ` [Buildroot] [Bug 12106] daq: build fails if libdumbnet-dev is installed in the host bugzilla at busybox.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-12106-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox