bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/18509] 16 unexpected failures for "ld" during "make check"


From: nickc at redhat dot com
Subject: [Bug binutils/18509] 16 unexpected failures for "ld" during "make check" for binutils 2.24
Date: Mon, 03 Aug 2015 07:33:53 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18509

--- Comment #12 from Nick Clifton <nickc at redhat dot com> ---
Hi Yuhang,

  You need to set LD_LIBRARY_PATH rather than LDFLAGS in order to locate
libraries when executables are run.  So what you need to do is to either set
LD_LIBRARY_PATH in your environment, or else add it to the site.exp file
pointed to be your DEJAGNU environment variable.  Ie, something like this:

  % export DEJAGNU=`pwd`/site.exp
  % cat site.exp

# Make sure we look in the right place for the board description files.
if ![info exists boards_dir] {
    set boards_dir {}
}


# Determine target machines for all known targets
verbose "Global Config File: target_triplet is $target_triplet" 2
global target_list

# Note the following list is alpha sorted in order to help maintain it.
case "$target_triplet" in {
    {   i*86-pc-*
        x86_64-pc-*
        native
        i*86-redha4t-linux-gnu } {
            set LD_LIBRARY_PATH
"/usr/local/lib:/Scr/scr-test-steven/install/zlib/1.2.8/lib/"
            set target_list "unix"
        }
}

  I hope that this helps.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]