* [Buildroot] [Bug 1153] New: Buildroot fails to build packages if BR2_GCC_SHARED_LIBGCC=y
@ 2010-02-19 15:58 bugzilla at busybox.net
2010-02-19 16:50 ` [Buildroot] [Bug 1153] " bugzilla at busybox.net
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2010-02-19 15:58 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1153
Host: i686
Target: ARM
Summary: Buildroot fails to build packages if
BR2_GCC_SHARED_LIBGCC=y
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: link-failure
Severity: major
Priority: P2
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: akennedy at drs-tem.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Created an attachment (id=1153)
--> (https://bugs.busybox.net/attachment.cgi?id=1153)
Config file for building an NFS buildroot for development purposes.
The config file attached has left off these two, but these were giving me
errors as well:
docker
xstroke
These would NOT compile unless BR2_GCC_SHARED_LIBGCC is not set:
uemacs
nano
vim
The error was undefined hidden symbol in libgcc.a(xxxxxxx.o) '__xxxxx()'
referenced by DSO.
The xxx was different for each of these (I attempted to compile each with a
shared libgcc) but seemed to center on references to g_printerr, g_print,
g_slist_length, g_malloc0, g_free, g_slist_append, g_slist_Remove_link, and
g_strdup_printf. These seem to be calling functions from the EABI as some were
like ul_div32_helper() -- though some were not referred to as EABI but AABI,
which greatly confuse me.
It appeared that the source of the problem was in glib2, but I cannot verify
this and could not locate any way around this issue.
My gut tells me that linking libgcc.a in statically is "bad" and I prefer not
to do that, but I'm in a bit over my head with where the problem is.
--
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] 6+ messages in thread
* [Buildroot] [Bug 1153] Buildroot fails to build packages if BR2_GCC_SHARED_LIBGCC=y
2010-02-19 15:58 [Buildroot] [Bug 1153] New: Buildroot fails to build packages if BR2_GCC_SHARED_LIBGCC=y bugzilla at busybox.net
@ 2010-02-19 16:50 ` bugzilla at busybox.net
2010-02-21 18:51 ` bugzilla at busybox.net
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2010-02-19 16:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1153
--- Comment #1 from Andy Kennedy <akennedy@drs-tem.com> 2010-02-19 16:49:59 UTC ---
Oh, forgot to mention that the build I'm working with is a snapshot of
20100129.
--
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] 6+ messages in thread
* [Buildroot] [Bug 1153] Buildroot fails to build packages if BR2_GCC_SHARED_LIBGCC=y
2010-02-19 15:58 [Buildroot] [Bug 1153] New: Buildroot fails to build packages if BR2_GCC_SHARED_LIBGCC=y bugzilla at busybox.net
2010-02-19 16:50 ` [Buildroot] [Bug 1153] " bugzilla at busybox.net
@ 2010-02-21 18:51 ` bugzilla at busybox.net
2010-02-24 18:11 ` bugzilla at busybox.net
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2010-02-21 18:51 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1153
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2010.02
--
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] 6+ messages in thread
* [Buildroot] [Bug 1153] Buildroot fails to build packages if BR2_GCC_SHARED_LIBGCC=y
2010-02-19 15:58 [Buildroot] [Bug 1153] New: Buildroot fails to build packages if BR2_GCC_SHARED_LIBGCC=y bugzilla at busybox.net
2010-02-19 16:50 ` [Buildroot] [Bug 1153] " bugzilla at busybox.net
2010-02-21 18:51 ` bugzilla at busybox.net
@ 2010-02-24 18:11 ` bugzilla at busybox.net
2013-09-23 10:06 ` bugzilla at busybox.net
2013-09-23 13:17 ` bugzilla at busybox.net
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2010-02-24 18:11 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1153
Andy Kennedy <akennedy@drs-tem.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #2 from Andy Kennedy <akennedy@drs-tem.com> 2010-02-24 18:11:11 UTC ---
After shutting down my computer over the weekend, and then attempting to build
again today, the build was successful. This must mean that, after the many
attempts to build the system, I had an environmental variable set that was
mucking around with the build. I'm closing this issue for now, but I will
attempt the build again today to see if it still works (If it fails, I'll
reopen with an env dump).
-- This makes me feel all dirty, like working with Windows.
--
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] 6+ messages in thread
* [Buildroot] [Bug 1153] Buildroot fails to build packages if BR2_GCC_SHARED_LIBGCC=y
2010-02-19 15:58 [Buildroot] [Bug 1153] New: Buildroot fails to build packages if BR2_GCC_SHARED_LIBGCC=y bugzilla at busybox.net
` (2 preceding siblings ...)
2010-02-24 18:11 ` bugzilla at busybox.net
@ 2013-09-23 10:06 ` bugzilla at busybox.net
2013-09-23 13:17 ` bugzilla at busybox.net
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2013-09-23 10:06 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1153
--- Comment #3 from busybox at crayor.com 2013-09-23 10:07:03 UTC ---
I just want to let everybody know what might be the source of this problem.
undefined hidden symbol in libgcc.a(xxxxxxx.o) '__xxxxx()' referenced by DSO.
These kind of errors are usually due to libgcc.a not being linked into a
library. So when creating a library that process went wrong.
If you delete the specific library so that Buildroot (usually) re-creates them,
you have a good chance that the build will succeed.
These undefined hidden symbol errors happen to me in Buildroot 2009.11 when I
build the util-linux package until I delete statging/usr/lib/libncurses.so.5.6
before building.
I know this does not exactly track down the problem but might still be an
important info of what to look for.
--
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] 6+ messages in thread
* [Buildroot] [Bug 1153] Buildroot fails to build packages if BR2_GCC_SHARED_LIBGCC=y
2010-02-19 15:58 [Buildroot] [Bug 1153] New: Buildroot fails to build packages if BR2_GCC_SHARED_LIBGCC=y bugzilla at busybox.net
` (3 preceding siblings ...)
2013-09-23 10:06 ` bugzilla at busybox.net
@ 2013-09-23 13:17 ` bugzilla at busybox.net
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2013-09-23 13:17 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1153
--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2013-09-23 13:18:13 UTC ---
When you change some toolchain settings, do you always do a complete "make
clean && make" ?
--
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] 6+ messages in thread
end of thread, other threads:[~2013-09-23 13:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-19 15:58 [Buildroot] [Bug 1153] New: Buildroot fails to build packages if BR2_GCC_SHARED_LIBGCC=y bugzilla at busybox.net
2010-02-19 16:50 ` [Buildroot] [Bug 1153] " bugzilla at busybox.net
2010-02-21 18:51 ` bugzilla at busybox.net
2010-02-24 18:11 ` bugzilla at busybox.net
2013-09-23 10:06 ` bugzilla at busybox.net
2013-09-23 13:17 ` 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