Skip to content
Tcl Source Code History Of Ticket 4f51e1c5dc
Login

History Of Ticket 4f51e1c5dc

Artifacts Associated With Ticket 4f51e1c5dc

  1. Ticket change [a7907fabd8] (rid 158502) by jan.nijtmans on 2017-11-17 08:29:19:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Description
       This patch will correct the sequence of -pie and -shared options.
       When used together, -pie should be provided to the linker before
       -shared. If -pie is provided after -shared, the linker throws an
       error shown below as example.
      
      -------------------------------------------------------------------------
      /host/powerpc-buildroot-linux-gnu/sysroot/usr/lib/Scrt1.o:(.data+0x4):
       undefined reference to `main'
      collect2: error: ld returned 1 exit status
      make[2]: *** [libtcl9.0.so] Error 1
      -------------------------------------------------------------------------
      
      Signed-off-by: Jay Shah <[email protected]>
      Signed-off-by: Matt Weber <[email protected]>
      ---
       unix/tcl.m4 | 2 +-
       1 file changed, 1 insertion(+), 1 deletion(-)
      
      diff --git a/unix/tcl.m4 b/unix/tcl.m4
      index 9aa3eb2..4d8182e 100644
      --- a/unix/tcl.m4
      +++ b/unix/tcl.m4
      @@ -1394,7 +1394,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
                  # get rid of the warnings.
                  #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
      
      -           SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
      +           SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared'
                  DL_OBJS="tclLoadDl.o"
                  DL_LIBS="-ldl"
                  LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
      
    5. foundin initialized to: "8.6"
    6. is_private initialized to: "0"
    7. login: "jan.nijtmans"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "jan.nijtmans"
    13. subsystem initialized to: "53. Configuration and Build Tools"
    14. title initialized to: "patch to correct linker flag sequence"
    15. type initialized to: "Bug"
  2. Ticket change [360a45639a] (rid 158503) by jan.nijtmans on 2017-11-17 08:30:09:

    1. assignee changed to: "jan.nijtmans"
    2. login: "jan.nijtmans"
    3. mimetype: "text/plain"
  3. Ticket change [332eb0cad1] (rid 159797) by jan.nijtmans on 2017-12-22 09:11:26:

    1. closedate changed to: "2458109.88294922"
    2. closer changed to: "jan.nijtmans"
    3. icomment: "Merged to core-8-6-branch and up."
    4. login: "jan.nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"