All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 6218] New: binutils-2.23.2/gas fails with undefined reference to `mbstowcs'
@ 2013-04-25 10:28 bugzilla at busybox.net
  2013-04-25 13:36 ` [Buildroot] [Bug 6218] " bugzilla at busybox.net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2013-04-25 10:28 UTC (permalink / raw)
  To: buildroot

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

           Summary: binutils-2.23.2/gas fails with undefined reference to
                    `mbstowcs'
           Product: buildroot
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: a.nielsen at shikadi.net
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


I am building for arm7tdmi using the git version of buildroot, with
binutils-2.23.2, but it fails:

libtool: link: [...] -o as-new [...]
read.o: In function `read_symbol_name':
read.c:(.text+0x3634): undefined reference to `mbstowcs'
collect2: error: ld returned 1 exit status
make[5]: *** [as-new] Error 1
make[5]: Leaving directory `buildroot/build/binutils-2.23.2/gas'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `buildroot/build/binutils-2.23.2/gas'
make[3]: *** [all] Error 2
make[3]: Leaving directory `buildroot/build/binutils-2.23.2/gas'
make[2]: *** [all-gas] Error 2
make[2]: Leaving directory `buildroot/build/binutils-2.23.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `buildroot/build/binutils-2.23.2'

-- 
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 6218] binutils-2.23.2/gas fails with undefined reference to `mbstowcs'
  2013-04-25 10:28 [Buildroot] [Bug 6218] New: binutils-2.23.2/gas fails with undefined reference to `mbstowcs' bugzilla at busybox.net
@ 2013-04-25 13:36 ` bugzilla at busybox.net
  2013-05-26 13:37 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2013-04-25 13:36 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2013-04-25 13:36:58 UTC ---
Does this happen after a complete 'make clean; make' cycle?

If so, could you attach your Buildroot .config file to the bug?

Thanks!

-- 
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 6218] binutils-2.23.2/gas fails with undefined reference to `mbstowcs'
  2013-04-25 10:28 [Buildroot] [Bug 6218] New: binutils-2.23.2/gas fails with undefined reference to `mbstowcs' bugzilla at busybox.net
  2013-04-25 13:36 ` [Buildroot] [Bug 6218] " bugzilla at busybox.net
@ 2013-05-26 13:37 ` bugzilla at busybox.net
  2014-02-13 15:02 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2013-05-26 13:37 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2013-05-26 13:36:14 UTC ---
Adam, do you still have this problem? If so, would you mind answering the
questions asked on April, 25th in this bug report, so that we can investigate?

-- 
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 6218] binutils-2.23.2/gas fails with undefined reference to `mbstowcs'
  2013-04-25 10:28 [Buildroot] [Bug 6218] New: binutils-2.23.2/gas fails with undefined reference to `mbstowcs' bugzilla at busybox.net
  2013-04-25 13:36 ` [Buildroot] [Bug 6218] " bugzilla at busybox.net
  2013-05-26 13:37 ` bugzilla at busybox.net
@ 2014-02-13 15:02 ` bugzilla at busybox.net
  2014-02-14 11:53 ` bugzilla at busybox.net
  2014-08-18 15:22 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2014-02-13 15:02 UTC (permalink / raw)
  To: buildroot

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

--- Comment #3 from Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> 2014-02-13 15:02:35 UTC ---
I built a toolchain based on current buildroot git (more or less 2014.02-rc1),
for arm7tdmi, using binutils-2.23.2, and did not see any problem.

-- 
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 6218] binutils-2.23.2/gas fails with undefined reference to `mbstowcs'
  2013-04-25 10:28 [Buildroot] [Bug 6218] New: binutils-2.23.2/gas fails with undefined reference to `mbstowcs' bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2014-02-13 15:02 ` bugzilla at busybox.net
@ 2014-02-14 11:53 ` bugzilla at busybox.net
  2014-08-18 15:22 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2014-02-14 11:53 UTC (permalink / raw)
  To: buildroot

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

Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> changed:

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

--- Comment #4 from Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> 2014-02-14 11:53:46 UTC ---
No response on questions from submitter, and problem not reproducible: this bug
will be closed. 

Please reopen if you still experience the same problem, and provide more
details.

-- 
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 6218] binutils-2.23.2/gas fails with undefined reference to `mbstowcs'
  2013-04-25 10:28 [Buildroot] [Bug 6218] New: binutils-2.23.2/gas fails with undefined reference to `mbstowcs' bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2014-02-14 11:53 ` bugzilla at busybox.net
@ 2014-08-18 15:22 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2014-08-18 15:22 UTC (permalink / raw)
  To: buildroot

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

--- Comment #5 from Alexey Brodkin <abrodkin@synopsys.com> 2014-08-18 15:22:57 UTC ---
This happens on ARC too when building native binutils.
It's because in uClibc "mbstowcs" is only gets built-in if WCHAR support is
enabled.

So proper fix would be to add WCHAR support in toolchain as a dependency for
native binutils.

-- 
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:[~2014-08-18 15:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-25 10:28 [Buildroot] [Bug 6218] New: binutils-2.23.2/gas fails with undefined reference to `mbstowcs' bugzilla at busybox.net
2013-04-25 13:36 ` [Buildroot] [Bug 6218] " bugzilla at busybox.net
2013-05-26 13:37 ` bugzilla at busybox.net
2014-02-13 15:02 ` bugzilla at busybox.net
2014-02-14 11:53 ` bugzilla at busybox.net
2014-08-18 15:22 ` 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.