Skip to Content.
Sympa Menu

svadev - Re: [svadev] clang: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)

svadev AT lists.siebelschool.illinois.edu

Subject: Svadev mailing list

List archive

Re: [svadev] clang: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)


Chronological Thread 
  • From: Jonas Wagner <jonas.wagner AT epfl.ch>
  • To: Stefan.Scheruebl AT continental-corporation.com
  • Cc: svadev AT cs.uiuc.edu
  • Subject: Re: [svadev] clang: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)
  • Date: Tue, 18 Nov 2014 14:46:16 +0100
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/svadev/>
  • List-id: <svadev.cs.uiuc.edu>

Hi,

sorry for the late reply!

In the second case, the linker command likely fails because you didn't add the -fmemsafety option to the linker command line.

In the first case, it seems to fail because gcc does not recognize the -fmemsafety flag. I don't understand why clang would call GCC to link the program instead of doing it itself. Maybe this is the default behavior under cygwin? Have you checked whether the issue arises also when you run this under Linux?

Best,
Jonas



Archive powered by MHonArc 2.6.16.

Top of Page