public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/42308] test-demangle, test-pexecute and test-expandargv compiled with wrong compiler
       [not found] <bug-42308-4@http.gcc.gnu.org/bugzilla/>
@ 2014-11-15 12:39 ` fxcoudert at gcc dot gnu.org
  0 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-15 12:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42308

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |fxcoudert at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #5 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Indeed a duplicate of 29404 (and still present on trunk)

*** This bug has been marked as a duplicate of bug 29404 ***


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

* [Bug testsuite/42308] test-demangle, test-pexecute and test-expandargv compiled with wrong compiler
  2009-12-06  6:01 [Bug testsuite/42308] New: " howarth at nitro dot med dot uc dot edu
                   ` (2 preceding siblings ...)
  2010-03-01  4:52 ` howarth at nitro dot med dot uc dot edu
@ 2010-03-01  7:15 ` ghazi at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2010-03-01  7:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ghazi at gcc dot gnu dot org  2010-03-01 07:15 -------
Is this a dup of 29404 ?


-- 


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


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

* [Bug testsuite/42308] test-demangle, test-pexecute and test-expandargv compiled with wrong compiler
  2009-12-06  6:01 [Bug testsuite/42308] New: " howarth at nitro dot med dot uc dot edu
  2010-03-01  1:12 ` [Bug testsuite/42308] " howarth at nitro dot med dot uc dot edu
  2010-03-01  4:50 ` howarth at nitro dot med dot uc dot edu
@ 2010-03-01  4:52 ` howarth at nitro dot med dot uc dot edu
  2010-03-01  7:15 ` ghazi at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-03-01  4:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from howarth at nitro dot med dot uc dot edu  2010-03-01 04:52 -------
I find that for i686-apple-darwin10, if I comment the line...

# Flags to pass to a recursive make.
FLAGS_TO_PASS = \
        "AR=$(AR)" \
        "AR_FLAGS=$(AR_FLAGS)" \
#       "CC=$(CC)" \
        "CFLAGS=$(CFLAGS)" \

in the  darwin_objdir/libiberty/Makefile, then 'make -k check-libiberty'
executed at the toplevel of darwin_objdir compiles without error.


-- 


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


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

* [Bug testsuite/42308] test-demangle, test-pexecute and test-expandargv compiled with wrong compiler
  2009-12-06  6:01 [Bug testsuite/42308] New: " howarth at nitro dot med dot uc dot edu
  2010-03-01  1:12 ` [Bug testsuite/42308] " howarth at nitro dot med dot uc dot edu
@ 2010-03-01  4:50 ` howarth at nitro dot med dot uc dot edu
  2010-03-01  4:52 ` howarth at nitro dot med dot uc dot edu
  2010-03-01  7:15 ` ghazi at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-03-01  4:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from howarth at nitro dot med dot uc dot edu  2010-03-01 04:49 -------
Created an attachment (id=19992)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19992&action=view)
Makefile from darwin_objdir/libiberty with commented line that eliminates the
bug


-- 


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


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

* [Bug testsuite/42308] test-demangle, test-pexecute and test-expandargv compiled with wrong compiler
  2009-12-06  6:01 [Bug testsuite/42308] New: " howarth at nitro dot med dot uc dot edu
@ 2010-03-01  1:12 ` howarth at nitro dot med dot uc dot edu
  2010-03-01  4:50 ` howarth at nitro dot med dot uc dot edu
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-03-01  1:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from howarth at nitro dot med dot uc dot edu  2010-03-01 01:11 -------
This also happens for i686-apple-darwin10....

make[2]: Nothing to be done for `check'.
gcc -DHAVE_CONFIG_H -g -O2 -I..
-I../../../gcc-4.5-20100228/libiberty/testsuite/../../include  -o test-demangle
\
                ../../../gcc-4.5-20100228/libiberty/testsuite/test-demangle.c
../libiberty.a
ld: warning: in ../libiberty.a, file is not of required architecture
Undefined symbols:
  "_is_gnu_v3_mangled_dtor", referenced from:
      _main in cca5XU3G.o
  "_is_gnu_v3_mangled_ctor", referenced from:
      _main in cca5XU3G.o
  "_cplus_demangle_set_style", referenced from:
      _main in cca5XU3G.o
      _main in cca5XU3G.o
  "_xmalloc", referenced from:
      _get_line in cca5XU3G.o
  "_cplus_demangle_name_to_style", referenced from:
      _main in cca5XU3G.o
      _main in cca5XU3G.o
  "_xrealloc", referenced from:
      _get_line in cca5XU3G.o
  "_cplus_demangle", referenced from:
      _main in cca5XU3G.o
      _main in cca5XU3G.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [test-demangle] Error 1
gcc -DHAVE_CONFIG_H -g -O2 -I..
-I../../../gcc-4.5-20100228/libiberty/testsuite/../../include  -DHAVE_CONFIG_H
-I.. -o test-pexecute \
                ../../../gcc-4.5-20100228/libiberty/testsuite/test-pexecute.c
../libiberty.a
ld: warning: in ../libiberty.a, file is not of required architecture
Undefined symbols:
  "_pexecute", referenced from:
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
  "_pex_init", referenced from:
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
  "_pex_get_status", referenced from:
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
  "_pex_read_output", referenced from:
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
  "_pex_run", referenced from:
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
  "_pex_free", referenced from:
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
  "_xstrerror", referenced from:
      _fatal_error in ccp2aaPu.o
  "_pwait", referenced from:
      _main in ccp2aaPu.o
      _main in ccp2aaPu.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [test-pexecute] Error 1
gcc -DHAVE_CONFIG_H -g -O2 -I..
-I../../../gcc-4.5-20100228/libiberty/testsuite/../../include  -DHAVE_CONFIG_H
-I.. -o test-expandargv \
                ../../../gcc-4.5-20100228/libiberty/testsuite/test-expandargv.c
../libiberty.a
ld: warning: in ../libiberty.a, file is not of required architecture
Undefined symbols:
  "_dupargv", referenced from:
      _run_tests in cc9bX5PF.o
      _run_tests in cc9bX5PF.o
  "_expandargv", referenced from:
      _run_tests in cc9bX5PF.o
  "_xstrerror", referenced from:
      _fatal_error in cc9bX5PF.o
  "_freeargv", referenced from:
      _run_tests in cc9bX5PF.o
      _run_tests in cc9bX5PF.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [test-expandargv] Error 1
make[3]: Target `check' not remade because of errors.
make[2]: *** [check-subdir] Error 2
make[2]: Target `check' not remade because of errors.
make[1]: *** [check-libiberty] Error 2
make[1]: Target `check-host' not remade because of errors.

because the system compiler defaults to -m64 and the built compiler to -m32
causing the mismatch.


-- 


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


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

end of thread, other threads:[~2014-11-15 12:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-42308-4@http.gcc.gnu.org/bugzilla/>
2014-11-15 12:39 ` [Bug testsuite/42308] test-demangle, test-pexecute and test-expandargv compiled with wrong compiler fxcoudert at gcc dot gnu.org
2009-12-06  6:01 [Bug testsuite/42308] New: " howarth at nitro dot med dot uc dot edu
2010-03-01  1:12 ` [Bug testsuite/42308] " howarth at nitro dot med dot uc dot edu
2010-03-01  4:50 ` howarth at nitro dot med dot uc dot edu
2010-03-01  4:52 ` howarth at nitro dot med dot uc dot edu
2010-03-01  7:15 ` ghazi at gcc dot gnu dot 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).