Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 610fe7bfbc4ab7ddcf8b0c770f7810a905798220
Ticket: 218110ffffffffffffffffffffffffffffffffff
'gcc -Wl,-rpath' breaks 'make test'
User & Date: dgp on 2001-12-20 01:15:26
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    It really feels like too much and too little at
    the same time.
    
    Leaving out the burned-in shared lib path in tcltest
    allows the LD_LIBRARY_PATH definition in 'make test'
    to control, so that 'make test' will work properly.
    However, when one wants to test just one test file:
    
      $ ./tcltest ../tests/append.test -verbose start
    
    and the already-installed Tcl library happens to be
    in the system load path, we still have the same problem
    of testing the wrong library.  The workaround I've had to
    adopt is to always configure with --disable-shared when
    doing my development work.  So: too little, doesn't fully
    solve the problem.
    
    On the "too much" side:
    I don't think it's reasonable to try to invent a new
    make pseudo-target for every activity someone might want
    to perform in the build area.  It just doesn't feel like
    a solution to me; rather workaround piled on workaround.
    Besides, for all these pseudo-targets to be effective,
    we have to change the habits of everyone.  Almost like
    forcing everyone to use a new language, rather than using
    the shell commands they already know.  That's doomed to
    fail.
    
    Some of the README changes are good, and need to be done
    anyway.  Also, removing @TCL_LD_SEARCH_FLAGS@ from the
    tcltest target will at least solve the problem with
    'make test', which is probably 95% of the issue, so
    I'd support that change.  The developers will still have
    to be aware of the problem and use --disable-shared.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"