public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/42308]  New: test-demangle, test-pexecute and test-expandargv compiled with wrong compiler
@ 2009-12-06  6:01 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
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-06  6:01 UTC (permalink / raw)
  To: gcc-bugs

On x86_64-apple-darwin9, since the system compiler defaults to -m32, an error
in the testsuite is revealed where the test-demangle, test-expandargv, and 
test-pexecute executables are erroneously compiled with the system compiler
instead of the newly built gcc compiler. This shows up as...

make[2]: Nothing to be done for `check'.
gcc -DHAVE_CONFIG_H -g -O2 -I..
-I../../../gcc-4.5-20091205/libiberty/testsuite/../../include  -o test-demangle
\
                ../../../gcc-4.5-20091205/libiberty/testsuite/test-demangle.c
../libiberty.a
ld warning: in ../libiberty.a, file is not of required architecture
Undefined symbols:
  "_cplus_demangle_name_to_style", referenced from:
      _main in ccVk85Q2.o
      _main in ccVk85Q2.o
  "_cplus_demangle", referenced from:
      _main in ccVk85Q2.o
      _main in ccVk85Q2.o
  "_cplus_demangle_set_style", referenced from:
      _main in ccVk85Q2.o
  "_is_gnu_v3_mangled_dtor", referenced from:
      _main in ccVk85Q2.o
  "_xmalloc", referenced from:
      _get_line in ccVk85Q2.o
  "_xrealloc", referenced from:
      _get_line in ccVk85Q2.o
  "_is_gnu_v3_mangled_ctor", referenced from:
      _main in ccVk85Q2.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-20091205/libiberty/testsuite/../../include  -DHAVE_CONFIG_H
-I.. -o test-pexecute \
                ../../../gcc-4.5-20091205/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 ccRO9MYo.o
      _main in ccRO9MYo.o
  "_pex_read_output", referenced from:
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
  "_pex_get_status", referenced from:
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
  "_pex_init", referenced from:
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
  "_pex_run", referenced from:
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
  "_pex_free", referenced from:
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
      _main in ccRO9MYo.o
  "_xstrerror", referenced from:
      _fatal_error in ccRO9MYo.o
  "_pwait", referenced from:
      _main in ccRO9MYo.o
      _main in ccRO9MYo.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-20091205/libiberty/testsuite/../../include  -DHAVE_CONFIG_H
-I.. -o test-expandargv \
                ../../../gcc-4.5-20091205/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 ccL7RWVj.o
      _run_tests in ccL7RWVj.o
  "_expandargv", referenced from:
      _run_tests in ccL7RWVj.o
  "_xstrerror", referenced from:
      _fatal_error in ccL7RWVj.o
  "_freeargv", referenced from:
      _run_tests in ccL7RWVj.o
      _run_tests in ccL7RWVj.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.


-- 
           Summary: test-demangle, test-pexecute and test-expandargv
                    compiled with wrong compiler
           Product: gcc
           Version: 4.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: x86_64-apple-darwin9
  GCC host triplet: x86_64-apple-darwin9
GCC target triplet: x86_64-apple-darwin9


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


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <bug-42308-4@http.gcc.gnu.org/bugzilla/>]

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

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