Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 9566] New: [kmod] Compilation fails with uclibc
@ 2017-01-06  8:27 bugzilla at busybox.net
  2017-01-06 18:23 ` [Buildroot] [Bug 9566] " bugzilla at busybox.net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-01-06  8:27 UTC (permalink / raw)
  To: buildroot

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

            Bug ID: 9566
           Summary: [kmod] Compilation fails with uclibc
           Product: buildroot
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: lipkegu at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Reproduce steps:
* use a clean environment
* select ulibc-ng
* use eudev + devtmpfs
* build it...


>>> kmod 23 Building
PATH="/home/guido/buildroot/output/host/bin:/home/guido/buildroot/output/host/sbin:/home/guido/buildroot/output/host/usr/bin:/home/guido/buildroot/output/host/usr/sbin:/home/guido/bin:/home/guido/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
 /usr/bin/make   -C /home/guido/buildroot/output/build/kmod-23/
make[1]: Verzeichnis ?/home/guido/buildroot/output/build/kmod-23? wird betreten
/usr/bin/make --no-print-directory all-recursive
Making all in .
  GEN      libkmod/libkmod.pc
  CC       libkmod/libkmod.lo
  CC       libkmod/libkmod-list.lo
  CC       libkmod/libkmod-config.lo
  CC       libkmod/libkmod-index.lo
  CC       libkmod/libkmod-module.lo
In file included from libkmod/libkmod-list.c:23:0:
libkmod/libkmod-internal.h:44:6: Warnung: #warning neither secure_getenv nor
__secure_getenv is available [-Wcpp]
 #    warning neither secure_getenv nor __secure_getenv is available
      ^
In file included from libkmod/libkmod-config.c:36:0:
libkmod/libkmod-internal.h:44:6: Warnung: #warning neither secure_getenv nor
__secure_getenv is available [-Wcpp]
 #    warning neither secure_getenv nor __secure_getenv is available
      ^
In file included from libkmod/libkmod-index.c:33:0:
libkmod/libkmod-internal.h:44:6: Warnung: #warning neither secure_getenv nor
__secure_getenv is available [-Wcpp]
 #    warning neither secure_getenv nor __secure_getenv is available
      ^
  CC       libkmod/libkmod-file.lo
In file included from libkmod/libkmod-module.c:45:0:
libkmod/libkmod-internal.h:44:6: Warnung: #warning neither secure_getenv nor
__secure_getenv is available [-Wcpp]
 #    warning neither secure_getenv nor __secure_getenv is available
      ^
In file included from libkmod/libkmod.c:38:0:
libkmod/libkmod-internal.h:44:6: Warnung: #warning neither secure_getenv nor
__secure_getenv is available [-Wcpp]
 #    warning neither secure_getenv nor __secure_getenv is available
      ^
In file included from libkmod/libkmod-file.c:39:0:
libkmod/libkmod-internal.h:44:6: Warnung: #warning neither secure_getenv nor
__secure_getenv is available [-Wcpp]
 #    warning neither secure_getenv nor __secure_getenv is available
      ^
  CC       libkmod/libkmod-elf.lo
In file included from libkmod/libkmod-elf.c:29:0:
libkmod/libkmod-internal.h:44:6: Warnung: #warning neither secure_getenv nor
__secure_getenv is available [-Wcpp]
 #    warning neither secure_getenv nor __secure_getenv is available
      ^
  CC       libkmod/libkmod-signature.lo
  CC       shared/array.lo
  CC       shared/hash.lo
In file included from libkmod/libkmod-signature.c:29:0:
libkmod/libkmod-internal.h:44:6: Warnung: #warning neither secure_getenv nor
__secure_getenv is available [-Wcpp]
 #    warning neither secure_getenv nor __secure_getenv is available
      ^
  CC       shared/strbuf.lo
  CC       shared/util.lo
  CC       libkmod/python/kmod/libkmod_python_kmod_kmod_la-kmod.lo
  CC       libkmod/python/kmod/libkmod_python_kmod_list_la-list.lo
  CC       libkmod/python/kmod/libkmod_python_kmod_module_la-module.lo
  CC       libkmod/python/kmod/libkmod_python_kmod__util_la-_util.lo
  CCLD     shared/libshared.la
  CCLD     libkmod/libkmod.la
  CCLD     libkmod/libkmod-internal.la
libkmod/.libs/libkmod-module.o: In function `kmod_module_remove_module':
libkmod-module.c:(.text.kmod_module_remove_module+0x20): undefined reference to
`delete_module'
libkmod/.libs/libkmod-module.o: In function `kmod_module_insert_module':
libkmod-module.c:(.text.kmod_module_insert_module+0x21c): undefined reference
to `init_module'
collect2: error: ld returned 1 exit status
Makefile:1322: die Regel f?r Ziel ?libkmod/libkmod.la? scheiterte
make[3]: *** [libkmod/libkmod.la] Fehler 1
make[3]: *** Auf noch nicht beendete Prozesse wird gewartet ?
Makefile:2074: die Regel f?r Ziel ?all-recursive? scheiterte
make[2]: *** [all-recursive] Fehler 1
Makefile:1151: die Regel f?r Ziel ?all? scheiterte
make[1]: *** [all] Fehler 2
make[1]: Verzeichnis ?/home/guido/buildroot/output/build/kmod-23? wird
verlassen
package/pkg-generic.mk:216: die Regel f?r Ziel
?/home/guido/buildroot/output/build/kmod-23/.stamp_built? scheiterte

    make: *** [/home/guido/buildroot/output/build/kmod-23/.stamp_built] Fehler
2

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

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

* [Buildroot] [Bug 9566] [kmod] Compilation fails with uclibc
  2017-01-06  8:27 [Buildroot] [Bug 9566] New: [kmod] Compilation fails with uclibc bugzilla at busybox.net
@ 2017-01-06 18:23 ` bugzilla at busybox.net
  2017-01-06 18:54 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-01-06 18:23 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from mail at waldemar-brodkorb.de ---
there is pending patch fixes this:

Waldemar Brodkorb    (   0) [Buildroot] [PATCH] uclibc: add kernel module
syscall wrappers 

not sure why t isn't applied, yet.

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

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

* [Buildroot] [Bug 9566] [kmod] Compilation fails with uclibc
  2017-01-06  8:27 [Buildroot] [Bug 9566] New: [kmod] Compilation fails with uclibc bugzilla at busybox.net
  2017-01-06 18:23 ` [Buildroot] [Bug 9566] " bugzilla at busybox.net
@ 2017-01-06 18:54 ` bugzilla at busybox.net
  2017-07-13 14:08 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-01-06 18:54 UTC (permalink / raw)
  To: buildroot

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

Peter Korsgaard <jacmet@uclibc.org> changed:

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

--- Comment #2 from Peter Korsgaard <jacmet@uclibc.org> ---
The uClibc-ng patch has now been applied:

commit ffad94e6ddde09c8388bdc0b5f825ddf77702182
Author: Waldemar Brodkorb <wbx@openadk.org>
Date:   Wed Dec 28 18:29:01 2016 +0100

    uclibc: add kernel module syscall wrappers

    Revert the decision to remove the wrappers, but remove the extra
    Config symbol and add it by default. Required for kmod package.

    Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
    Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

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

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

* [Buildroot] [Bug 9566] [kmod] Compilation fails with uclibc
  2017-01-06  8:27 [Buildroot] [Bug 9566] New: [kmod] Compilation fails with uclibc bugzilla at busybox.net
  2017-01-06 18:23 ` [Buildroot] [Bug 9566] " bugzilla at busybox.net
  2017-01-06 18:54 ` bugzilla at busybox.net
@ 2017-07-13 14:08 ` bugzilla at busybox.net
  2017-07-23  7:45 ` bugzilla at busybox.net
  2018-01-16 23:02 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-07-13 14:08 UTC (permalink / raw)
  To: buildroot

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

mavik30 at yahoo.com changed:

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

--- Comment #3 from mavik30 at yahoo.com ---
Hello, 

I got the same error, i followed the patch. But still same error.

Can any one tell how solve this issue. 

CCLD     libkmod/libkmod.la
libkmod/.libs/libkmod-module.o: In function `kmod_module_remove_module':
libkmod-module.c:(.text.kmod_module_remove_module+0x20): undefined reference to
`delete_module'
libkmod/.libs/libkmod-module.o: In function `kmod_module_insert_module':
libkmod-module.c:(.text.kmod_module_insert_module+0x21c): undefined reference
to `init_module'
collect2: error: ld returned 1 exit status
make[4]: *** [libkmod/libkmod.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [/home/marvik/buildroot/output/build/kmod-23/.stamp_built] Error 2
make: *** [_all] Error 2


Thanks

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

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

* [Buildroot] [Bug 9566] [kmod] Compilation fails with uclibc
  2017-01-06  8:27 [Buildroot] [Bug 9566] New: [kmod] Compilation fails with uclibc bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2017-07-13 14:08 ` bugzilla at busybox.net
@ 2017-07-23  7:45 ` bugzilla at busybox.net
  2018-01-16 23:02 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-07-23  7:45 UTC (permalink / raw)
  To: buildroot

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

--- Comment #4 from Peter Korsgaard <jacmet@uclibc.org> ---
(In reply to mavik30 from comment #3)

Can you provide some more details please? What Buildroot version and what is
your (def)config?

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

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

* [Buildroot] [Bug 9566] [kmod] Compilation fails with uclibc
  2017-01-06  8:27 [Buildroot] [Bug 9566] New: [kmod] Compilation fails with uclibc bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2017-07-23  7:45 ` bugzilla at busybox.net
@ 2018-01-16 23:02 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2018-01-16 23:02 UTC (permalink / raw)
  To: buildroot

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

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

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

--- Comment #5 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
This issue has been fixed by the uClibc-ng change. The original reporter did
not provide additional details as to how to reproduce the problem with the
fixed uClibc-ng. Therefore, I'm closing this bug.

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

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

end of thread, other threads:[~2018-01-16 23:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-06  8:27 [Buildroot] [Bug 9566] New: [kmod] Compilation fails with uclibc bugzilla at busybox.net
2017-01-06 18:23 ` [Buildroot] [Bug 9566] " bugzilla at busybox.net
2017-01-06 18:54 ` bugzilla at busybox.net
2017-07-13 14:08 ` bugzilla at busybox.net
2017-07-23  7:45 ` bugzilla at busybox.net
2018-01-16 23:02 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox