[Bug other/15176] New: [tree-ssa] Disable libmudflap without ld --wrap
gcc-bugzilla at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Apr 27 19:34:00 GMT 2004
Even after hacking libmudflap as described in PR libmudflap/15174 to
compile on Tru64 UNIX, all tests fail as follows:
In file included from <command line>:1:
../mf-runtime.h:92: warning: #pragma redefine_extname conflicts with declaration
/usr/bin/ld:
--wrap=main: Unknown flag
/usr/bin/ld: Usage: /usr/bin/ld [options] file [...]
collect2: ld returned 1 exit status
compiler exited with status 1
So if the linker used doesn't support --wrap (this will almost exclusively
be GNU ld) or some equivalent mechanism (I haven't found any on Solaris 2,
IRIX 6 or Tru64 UNIX, but AIX has and defines its own versions of
MFWRAP_SPEC and MFLIB_SPEC), libmudflap is currently useless even if it
compiles. I think the libmudflap configury should detect this and disable
libmudflap automatically if those prerequisites aren't met.
Environment:
System: OSF1 rimsky V4.0 1229 alpha
Machine: alpha
host: alpha-dec-osf4.0f
build: alpha-dec-osf4.0f
target: alpha-dec-osf4.0f
configured with: /vol/gnu/src/gcc/gcc-tree-ssa-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls --enable-languages=c++,java,objc --host alpha-dec-osf4.0f --build alpha-dec-osf4.0f --target alpha-dec-osf4.0f
How-To-Repeat:
Run make check in libmudflap.
--
Summary: [tree-ssa] Disable libmudflap without ld --wrap
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ro at techfak dot uni-bielefeld dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: alpha-dec-osf4.0f
GCC host triplet: alpha-dec-osf4.0f
GCC target triplet: alpha-dec-osf4.0f
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15176
More information about the Gcc-bugs
mailing list