|
2017-12-22
| ||
| 09:11 | • Closed ticket [4f51e1c5dc]: patch to correct linker flag sequence plus 6 oth... artifact: 332eb0cad1 user: jan.nijtmans | |
|
2017-12-01
| ||
| 12:47 | Fix [4f51e1c5dcf75de22f5907f7b66361e4bcab02e2|4f51e1c5dc]: patch to correct linker flag sequence check-in: ff019ab462 user: jan.nijtmans tags: core-8-6-branch | |
|
2017-11-17
| ||
| 08:32 | Suggested patch for [4f51e1c5dc]: patch to correct linker flag sequence. Same change done for a few ... closed check-in: eb2c85495f user: jan.nijtmans tags: bug-4f51e1c5dc | |
| 08:30 | • Ticket [4f51e1c5dc] patch to correct linker flag sequence status still Open ... artifact: 360a45639a user: jan.nijtmans | |
| 08:29 | • New ticket [4f51e1c5dc]. artifact: a7907fabd8 user: jan.nijtmans | |
| Ticket UUID: | 4f51e1c5dcf75de22f5907f7b66361e4bcab02e2 | ||
| Title: | patch to correct linker flag sequence | ||
| Type: | Bug | Created on: | 2017-11-17 08:29:19 |
| Submitter: | jan.nijtmans | Assigned to: | jan.nijtmans |
| Subsystem: | 53. Configuration and Build Tools | Severity: | Minor |
| Priority: | 5 Medium | Last modified: | 2017-12-22 09:11:26 |
| Status: | Closed | Closed by: | jan.nijtmans |
| Resolution: | Fixed | Closed on: | 2017-12-22 09:11:26 |
| Version: | 8.6 | ||
| Description: | ||||
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" | ||||
| User Comments: | ||||
jan.nijtmans added on 2017-12-22 09:11:26:
Merged to core-8-6-branch and up. | ||||
