All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 12106] New: daq: build fails if libdumbnet-dev is installed in the host
@ 2019-08-14 10:29 bugzilla at busybox.net
  2019-08-15 13:16 ` [Buildroot] [Bug 12106] " bugzilla at busybox.net
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla at busybox.net @ 2019-08-14 10:29 UTC (permalink / raw)
  To: buildroot

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [Bug 12106] daq: build fails if libdumbnet-dev is installed in the host
  2019-08-14 10:29 [Buildroot] [Bug 12106] New: daq: build fails if libdumbnet-dev is installed in the host bugzilla at busybox.net
@ 2019-08-15 13:16 ` bugzilla at busybox.net
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla at busybox.net @ 2019-08-15 13:16 UTC (permalink / raw)
  To: buildroot

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

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/?id=bd8a37a681cb5190f5af0ed1c20f556bf5661345.
Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-15 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-14 10:29 [Buildroot] [Bug 12106] New: daq: build fails if libdumbnet-dev is installed in the host bugzilla at busybox.net
2019-08-15 13:16 ` [Buildroot] [Bug 12106] " bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.