public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/33637] [4.3/4.4/4.5/4.6 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
       [not found] <bug-33637-4@http.gcc.gnu.org/bugzilla/>
@ 2010-11-23 12:25 ` jakub at gcc dot gnu.org
  2010-11-23 13:01 ` bonzini at gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-23 12:25 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-23 11:45:52 UTC ---
Created attachment 22494
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22494
gcc46-pr33637.patch

I guess the important question is, do we support (or even just pretend to
support) configuring gcc (or binutils and other tools) in paths with
spaces/tabs in pathnames?

If not (it would surprise me if everything worked, e.g.
$1=`cd $with_build_time_tools && pwd`/$2
in acx.m4 will not do what it expects if with_build_time_tools contains spaces
in it), then I'd say this patch is the way to go.

Otherwise, either we just shouldn't concatenate the extra arguments into
NM_FOR_TARGET/AS_FOR_TARGET, but substitute into different vars and use them
that way, or just special case trailing " -X32_64" and " -B -X32_64" in this
script.


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

* [Bug target/33637] [4.3/4.4/4.5/4.6 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
       [not found] <bug-33637-4@http.gcc.gnu.org/bugzilla/>
  2010-11-23 12:25 ` [Bug target/33637] [4.3/4.4/4.5/4.6 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" jakub at gcc dot gnu.org
@ 2010-11-23 13:01 ` bonzini at gnu dot org
  2010-11-23 17:01 ` jakub at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: bonzini at gnu dot org @ 2010-11-23 13:01 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637

--- Comment #13 from Paolo Bonzini <bonzini at gnu dot org> 2010-11-23 12:25:19 UTC ---
On 11/23/2010 12:46 PM, jakub at gcc dot gnu.org wrote:

> If not (it would surprise me if everything worked, e.g.
> $1=`cd $with_build_time_tools&&  pwd`/$2
> in acx.m4 will not do what it expects if with_build_time_tools contains spaces
> in it), then I'd say this patch is the way to go.

I agree.  We might even warn about it in the toplevel.

Paolo


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

* [Bug target/33637] [4.3/4.4/4.5/4.6 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
       [not found] <bug-33637-4@http.gcc.gnu.org/bugzilla/>
  2010-11-23 12:25 ` [Bug target/33637] [4.3/4.4/4.5/4.6 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" jakub at gcc dot gnu.org
  2010-11-23 13:01 ` bonzini at gnu dot org
@ 2010-11-23 17:01 ` jakub at gcc dot gnu.org
  2010-11-26 10:10 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-23 17:01 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-23 16:27:40 UTC ---
Actually, the gcc/configure.ac hunks are needed too (just tested on
x86_64-linux
with a hack which added the (ignored) -X32_64 to extra_nmflags_for_target in
toplevel configure{,.ac}).
Which in the end means that the

http://overlays.gentoo.org/proj/alt/export/51702/trunk/prefix-overlay/sys-devel/gcc/files/4.3.0/targettools-checks.patch

patch is correct and should be applied.

Michael, can you please write a ChangeLog entry for it and mail to
gcc-patches@gcc.gnu.org ?


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

* [Bug target/33637] [4.3/4.4/4.5/4.6 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
       [not found] <bug-33637-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2010-11-23 17:01 ` jakub at gcc dot gnu.org
@ 2010-11-26 10:10 ` jakub at gcc dot gnu.org
  2010-11-26 10:14 ` [Bug target/33637] [4.3/4.4/4.5 " jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-26 10:10 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-26 09:53:32 UTC ---
Author: jakub
Date: Fri Nov 26 09:53:24 2010
New Revision: 167172

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167172
Log:
    PR target/33637
    * configure.ac: Accept extra arguments for AS_FOR_TARGET,
    LD_FOR_TARGET, NM_FOR_TARGET, OBJDUMP_FOR_TARGET.
    * configure: Regenerated.
    * exec-tool.in: Not quoting command, may have extra arguments.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/configure
    trunk/gcc/configure.ac
    trunk/gcc/exec-tool.in


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

* [Bug target/33637] [4.3/4.4/4.5 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
       [not found] <bug-33637-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2010-11-26 10:10 ` jakub at gcc dot gnu.org
@ 2010-11-26 10:14 ` jakub at gcc dot gnu.org
  2011-01-10 19:31 ` rwild at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-26 10:14 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.3/4.4/4.5/4.6            |[4.3/4.4/4.5 Regression]
                   |Regression] "checking for   |"checking for nm: test: too
                   |nm: test: too many          |many arguments" causes
                   |arguments" causes           |"Undefined symbol:
                   |"Undefined symbol:          |__gxx_personality_v0"
                   |__gxx_personality_v0"       |

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-26 09:54:49 UTC ---
Fixed on the trunk so far.


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

* [Bug target/33637] [4.3/4.4/4.5 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
       [not found] <bug-33637-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2010-11-26 10:14 ` [Bug target/33637] [4.3/4.4/4.5 " jakub at gcc dot gnu.org
@ 2011-01-10 19:31 ` rwild at gcc dot gnu.org
  2011-06-27 13:04 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: rwild at gcc dot gnu.org @ 2011-01-10 19:31 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637

Ralf Wildenhues <rwild at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ltg at zes dot
                   |                            |uni-bremen.de

--- Comment #17 from Ralf Wildenhues <rwild at gcc dot gnu.org> 2011-01-10 19:08:09 UTC ---
*** Bug 38546 has been marked as a duplicate of this bug. ***


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

* [Bug target/33637] [4.3/4.4/4.5 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
       [not found] <bug-33637-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2011-01-10 19:31 ` rwild at gcc dot gnu.org
@ 2011-06-27 13:04 ` rguenth at gcc dot gnu.org
  2012-03-13 13:13 ` [Bug target/33637] [4.5 " jakub at gcc dot gnu.org
  2012-07-02  9:31 ` rguenth at gcc dot gnu.org
  8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-27 13:04 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.6                       |4.4.7

--- Comment #18 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-27 12:12:12 UTC ---
4.3 branch is being closed, moving to 4.4.7 target.


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

* [Bug target/33637] [4.5 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
       [not found] <bug-33637-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2011-06-27 13:04 ` rguenth at gcc dot gnu.org
@ 2012-03-13 13:13 ` jakub at gcc dot gnu.org
  2012-07-02  9:31 ` rguenth at gcc dot gnu.org
  8 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-03-13 13:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.7                       |4.5.4

--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-13 12:44:59 UTC ---
4.4 branch is being closed, moving to 4.5.4 target.


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

* [Bug target/33637] [4.5 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0"
       [not found] <bug-33637-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2012-03-13 13:13 ` [Bug target/33637] [4.5 " jakub at gcc dot gnu.org
@ 2012-07-02  9:31 ` rguenth at gcc dot gnu.org
  8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-02  9:31 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33637

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.5.4                       |4.6.0

--- Comment #20 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-02 09:31:00 UTC ---
Fixed for 4.6.0.


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

end of thread, other threads:[~2012-07-02  9:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-33637-4@http.gcc.gnu.org/bugzilla/>
2010-11-23 12:25 ` [Bug target/33637] [4.3/4.4/4.5/4.6 Regression] "checking for nm: test: too many arguments" causes "Undefined symbol: __gxx_personality_v0" jakub at gcc dot gnu.org
2010-11-23 13:01 ` bonzini at gnu dot org
2010-11-23 17:01 ` jakub at gcc dot gnu.org
2010-11-26 10:10 ` jakub at gcc dot gnu.org
2010-11-26 10:14 ` [Bug target/33637] [4.3/4.4/4.5 " jakub at gcc dot gnu.org
2011-01-10 19:31 ` rwild at gcc dot gnu.org
2011-06-27 13:04 ` rguenth at gcc dot gnu.org
2012-03-13 13:13 ` [Bug target/33637] [4.5 " jakub at gcc dot gnu.org
2012-07-02  9:31 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).