Ticket UUID: | 3005196 | |||
Title: | (partial) fix for build on OpenBSD vax | |||
Type: | Bug | Version: | obsolete: 8.5.8 | |
Submitter: | buzzzzdeeee | Created on: | 2010-05-21 09:15:24 | |
Subsystem: | 52. Portability Support | Assigned To: | nobody | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2010-05-22 15:16:03 | |
Resolution: | Invalid | Closed By: | buzzzzdeeee | |
Closed on: | 2010-05-22 08:16:03 | |||
Description: |
tcl doesn't build on OpenBSD vax, due to the following error message when it compiles generic/tclStrToD.c: *unknown*:0: Warning: as: I don't understand 'k' flag. *unknown*:0: Warning: as: I don't understand 'K' flag. /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c: In function `TclParseNumber': /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:950: `sN' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:950: (Each undeclared identifier is reported only once /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:950: for each function it appears in.) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:951: `sNA' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:952: `sNANPAREN' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:953: `sNANHEX' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:1137: `sNAN' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:1138: `sNANFINISH' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c: At top level: appended patch fixes this problem for me. | |||
User Comments: |
buzzzzdeeee added on 2010-05-22 15:16:03:
allow_comments - 1 Thanks. --disable-load was the missing configure parameter, --disable-shared did not helped. nijtmans added on 2010-05-21 21:41:29: > But I have no idea where this dynamic comes from, but the reason may be > that the OpenBSD vax port still uses a.out and static libraries. Then you could try configuring it with --disable-shared and/or --disable-load. buzzzzdeeee added on 2010-05-21 17:26:18: I was too early, afterwards the linking stage breaks like this: cc -c -O2 -O2 -pipe -pipe -Wall -fPIC -I"." -I/usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../unix -I/usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic -I/usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../libtommath -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tcl\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DSTATIC_BUILD=1 -DTCL_SHLIB_EXT=\".so\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../unix/tclAppInit.c *unknown*: Assembler messages: *unknown*:0: Warning: as: I don't understand 'k' flag. *unknown*:0: Warning: as: I don't understand 'K' flag. cc -O2 -O2 -pipe -pipe tclAppInit.o -L/usr/ports/pobj/tcl-8.5.8/build-vax -ltcl85 -lm -o tclsh ld: No reference to __DYNAMIC collect2: ld returned 1 exit status *** Error code 1 Stop in /usr/ports/pobj/tcl-8.5.8/build-vax (line 577 of Makefile). *** Error code 1 Stop in /usr/ports/lang/tcl/8.5 (line 2225 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/lang/tcl/8.5 (line 1481 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/lang/tcl/8.5 (line 2021 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/lang/tcl/8.5 (line 1511 of /usr/ports/infrastructure/mk/bsd.port.mk). But I have no idea where this dynamic comes from, but the reason may be that the OpenBSD vax port still uses a.out and static libraries. buzzzzdeeee added on 2010-05-21 16:15:24: File Added - 374690: tclStrToD.c-vax |
Attachments:
- tclStrToD.c-vax [download] added by buzzzzdeeee on 2010-05-21 16:15:24. [details]