* [Buildroot] [Bug 1651] Build fail caused by ccache in module-init-tools
2010-04-29 4:28 [Buildroot] [Bug 1651] New: Build fail caused by ccache in module-init-tools bugzilla at busybox.net
@ 2010-04-29 4:29 ` bugzilla at busybox.net
2010-04-29 6:14 ` bugzilla at busybox.net
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-04-29 4:29 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1651
--- Comment #1 from Mitch Davis <mjd-busybox.net@afork.com> 2010-04-29 04:29:20 UTC ---
Created an attachment (id=1591)
--> (https://bugs.busybox.net/attachment.cgi?id=1591)
Listing of build showing breakage.
--
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.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 1651] Build fail caused by ccache in module-init-tools
2010-04-29 4:28 [Buildroot] [Bug 1651] New: Build fail caused by ccache in module-init-tools bugzilla at busybox.net
2010-04-29 4:29 ` [Buildroot] [Bug 1651] " bugzilla at busybox.net
@ 2010-04-29 6:14 ` bugzilla at busybox.net
2010-04-30 8:07 ` bugzilla at busybox.net
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-04-29 6:14 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1651
--- Comment #2 from Mitch Davis <mjd-busybox.net@afork.com> 2010-04-29 06:14:57 UTC ---
The ccache setting was not changed, so it has the default value of unset.
mjd at milhouse ~/src/buildroot $ grep CCACHE .config
# BR2_CCACHE is not set
# BR2_PACKAGE_CCACHE_TARGET is not set
mjd at milhouse ~/src/buildroot $
--
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.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 1651] Build fail caused by ccache in module-init-tools
2010-04-29 4:28 [Buildroot] [Bug 1651] New: Build fail caused by ccache in module-init-tools bugzilla at busybox.net
2010-04-29 4:29 ` [Buildroot] [Bug 1651] " bugzilla at busybox.net
2010-04-29 6:14 ` bugzilla at busybox.net
@ 2010-04-30 8:07 ` bugzilla at busybox.net
2010-04-30 10:05 ` bugzilla at busybox.net
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-04-30 8:07 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1651
Paulius Zaleckas <paulius.zaleckas@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paulius.zaleckas at gmail.com
--- Comment #3 from Paulius Zaleckas <paulius.zaleckas@gmail.com> 2010-04-30 08:07:32 UTC ---
This is because glibc static library is missing on the host.
On Fedora "yum install glibc-static" solves this problem.
However I admit that buildroot could check and report that you need to install
it.
--
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.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 1651] Build fail caused by ccache in module-init-tools
2010-04-29 4:28 [Buildroot] [Bug 1651] New: Build fail caused by ccache in module-init-tools bugzilla at busybox.net
` (2 preceding siblings ...)
2010-04-30 8:07 ` bugzilla at busybox.net
@ 2010-04-30 10:05 ` bugzilla at busybox.net
2010-04-30 10:06 ` bugzilla at busybox.net
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-04-30 10:05 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1651
--- Comment #4 from Mitch Davis <mjd-busybox.net@afork.com> 2010-04-30 10:05:11 UTC ---
Interesting. Why is the host's static version of libc needed?
(And thanks for the workaround)
--
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.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 1651] Build fail caused by ccache in module-init-tools
2010-04-29 4:28 [Buildroot] [Bug 1651] New: Build fail caused by ccache in module-init-tools bugzilla at busybox.net
` (3 preceding siblings ...)
2010-04-30 10:05 ` bugzilla at busybox.net
@ 2010-04-30 10:06 ` bugzilla at busybox.net
2010-05-12 0:17 ` bugzilla at busybox.net
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-04-30 10:06 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1651
--- Comment #5 from Mitch Davis <mjd-busybox.net@afork.com> 2010-04-30 10:06:37 UTC ---
Or looking a little higher up the cause-of-failure tree, why is
module-init-tools being compiled with ccache (when it's turned off in the
config)?
--
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.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 1651] Build fail caused by ccache in module-init-tools
2010-04-29 4:28 [Buildroot] [Bug 1651] New: Build fail caused by ccache in module-init-tools bugzilla at busybox.net
` (4 preceding siblings ...)
2010-04-30 10:06 ` bugzilla at busybox.net
@ 2010-05-12 0:17 ` bugzilla at busybox.net
2010-06-24 10:36 ` bugzilla at busybox.net
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-05-12 0:17 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1651
--- Comment #6 from Mitch Davis <mjd-busybox.net@afork.com> ---
Hello buildroot guys, anyone had some time to look at this please?
--
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.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 1651] Build fail caused by ccache in module-init-tools
2010-04-29 4:28 [Buildroot] [Bug 1651] New: Build fail caused by ccache in module-init-tools bugzilla at busybox.net
` (5 preceding siblings ...)
2010-05-12 0:17 ` bugzilla at busybox.net
@ 2010-06-24 10:36 ` bugzilla at busybox.net
2010-07-27 2:09 ` bugzilla at busybox.net
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-06-24 10:36 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1651
--- Comment #7 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Mitch, with the merge of the linux-cleanup work, the module-init-tools package
has been upgraded and migrated to the autotools infrastructure. So it is
possible that the problem you're seeing has been fixed.
Can you give a try at the latest Buildroot git ?
--
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.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 1651] Build fail caused by ccache in module-init-tools
2010-04-29 4:28 [Buildroot] [Bug 1651] New: Build fail caused by ccache in module-init-tools bugzilla at busybox.net
` (6 preceding siblings ...)
2010-06-24 10:36 ` bugzilla at busybox.net
@ 2010-07-27 2:09 ` bugzilla at busybox.net
2010-07-27 5:34 ` bugzilla at busybox.net
2010-12-14 11:05 ` bugzilla at busybox.net
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-07-27 2:09 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1651
--- Comment #8 from S?rgio <sergio@sergiomb.no-ip.org> ---
(In reply to comment #7)
> Mitch, with the merge of the linux-cleanup work, the module-init-tools package
> has been upgraded and migrated to the autotools infrastructure. So it is
> possible that the problem you're seeing has been fixed.
>
> Can you give a try at the latest Buildroot git ?
Hi, I'm getting this error:
make[2]: Entering directory
`buildroot/output/build/host-module-init-tools-3.11/build'
/usr/lib64/ccache/gcc -Ibuildroot/output/host/include
-Ibuildroot/output/host/usr/include -Wunused -Wall -static
-Lbuildroot/output/host/lib -Lbuildroot/output/host/usr/lib
-Wl,-rpath,buildroot/output/host/usr/lib -o insmod.static insmod.o
libmodtools.a
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
with git and ccache enabled , and yum install glibc-static , fixes the
problem.
but what should I do ? disable CCACHE or use glibc-static ?
--
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.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 1651] Build fail caused by ccache in module-init-tools
2010-04-29 4:28 [Buildroot] [Bug 1651] New: Build fail caused by ccache in module-init-tools bugzilla at busybox.net
` (7 preceding siblings ...)
2010-07-27 2:09 ` bugzilla at busybox.net
@ 2010-07-27 5:34 ` bugzilla at busybox.net
2010-12-14 11:05 ` bugzilla at busybox.net
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-07-27 5:34 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1651
--- Comment #9 from Peter Korsgaard <jacmet@uclibc.org> ---
(In reply to comment #8)
> but what should I do ? disable CCACHE or use glibc-static ?
short of us hacking the module-init-tools makefile, it is building a static
version of insmod - So I would say install the glibc package.
--
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.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 1651] Build fail caused by ccache in module-init-tools
2010-04-29 4:28 [Buildroot] [Bug 1651] New: Build fail caused by ccache in module-init-tools bugzilla at busybox.net
` (8 preceding siblings ...)
2010-07-27 5:34 ` bugzilla at busybox.net
@ 2010-12-14 11:05 ` bugzilla at busybox.net
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2010-12-14 11:05 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1651
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #10 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
The issue was in fact that glibc-static was missing on the user host system. We
have added a FAQ entry in Buildroot documentation to document this. See
http://git.buildroot.net/buildroot/commit/?id=706683b8b912aa3304d71652d7a4a74d8b74f58e
--
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.
^ permalink raw reply [flat|nested] 11+ messages in thread