Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 403
    • Issues 403
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #1968
Closed
Open
Created Nov 26, 2010 by Daniel Rolls@dsrGuest

Undefined references to IO related symbols when compiling with MT

Bugzilla Link 781
Created on Nov 26, 2010 15:05
Resolution FIXED
Resolved on Nov 30, 2010 19:54
Version svn
OS All
Architecture PC

Extended Description

On Obelix compiling kp1_simpson, kp1_trapezoid_abstract or kp1_trapezoid with MT causes undefined references to world stout, stdin, FileSystem and TermFile symbols. To repeat run make in the appropriate demos directories. Below are the failures form the masterrun on the 24 November. It worked on Novemeber 13th. The only changes I can see from svn log that look like they might be in this area are commit 17209 by cg. Could this be a duplicate of 776?
Below is the error output from the above mentioned masterrun:
sac2c -O3 -v1 -maxlur 3 -mt -o kp1_simpson_mt kp1_simpson.sac
/tmp/MASTERR_XuSt1SMFCr/ccJsrF0E.o: In function `SACf__MAIN_CL_ST_CL_INIT__init':
kp1_simpson_mt.c:(.text+0x76): undefined reference to `SACf_World_CL_ST_CL_INIT__init_TheWorld__SACt_World__World'
kp1_simpson_mt.c:(.text+0x8a): undefined reference to `SACf_Terminal_CL_ST_CL_INIT__init_TheTerminal__SACt_Terminal__Terminal'
kp1_simpson_mt.c:(.text+0x9e): undefined reference to `SACf_TermFile_CL_ST_CL_INIT__init_stdout__SACt_TermFile__TermFile'
kp1_simpson_mt.c:(.text+0xb2): undefined reference to `SACf_TermFile_CL_ST_CL_INIT__init_stdin__SACt_TermFile__TermFile'
/tmp/MASTERR_XuSt1SMFCr/ccJsrF0E.o: In function `SACf__MAIN_CL_ST___mtspmdf_54305_main__d_100_80(double)':
kp1_simpson_mt.c:(.text+0x9459): undefined reference to `SACf_ScalarArith_CL_MT__max__d(double)'
/tmp/MASTERR_XuSt1SMFCr/ccJsrF0E.o: In function `SACf__MAIN_CL_ST__main':
kp1_simpson_mt.c:(.text+0x967c): undefined reference to `SACf_World_CL_ST_CL_INIT__init_TheWorld__SACt_World__World'
kp1_simpson_mt.c:(.text+0x9690): undefined reference to `SACf_Terminal_CL_ST_CL_INIT__init_TheTerminal__SACt_Terminal__Terminal'
kp1_simpson_mt.c:(.text+0x96a4): undefined reference to `SACf_TermFile_CL_ST_CL_INIT__init_stdout__SACt_TermFile__TermFile'
kp1_simpson_mt.c:(.text+0x96b8): undefined reference to `SACf_TermFile_CL_ST_CL_INIT__init_stdin__SACt_TermFile__TermFile'
kp1_simpson_mt.c:(.text+0x96d0): undefined reference to `SACf_FibreIO_CL_ST__FibreScanIntArray'
kp1_simpson_mt.c:(.text+0xac16): undefined reference to `SACf_ScalarIO_CL_ST__print(double)'
collect2: ld returned 1 exit status
sac2c -O3 -v1 -maxlur 3 -mt -o kp1_trapezoid_abstract_mt kp1_trapezoid_abstract.sac
/tmp/MASTERR_XuSt1SMFCr/ccRtmnx8.o: In function `SACf__MAIN_CL_ST_CL_INIT__init':
kp1_trapezoid_abstract_mt.c:(.text+0x62d6): undefined reference to `SACf_World_CL_ST_CL_INIT__init_TheWorld__SACt_World__World'
kp1_trapezoid_abstract_mt.c:(.text+0x62ea): undefined reference to `SACf_FileSystem_CL_ST_CL_INIT__init_TheFileSystem__SACt_FileSystem__FileSystem'
kp1_trapezoid_abstract_mt.c:(.text+0x62fe): undefined reference to `SACf_Terminal_CL_ST_CL_INIT__init_TheTerminal__SACt_Terminal__Terminal'
kp1_trapezoid_abstract_mt.c:(.text+0x6312): undefined reference to `SACf_TermFile_CL_ST_CL_INIT__init_stdout__SACt_TermFile__TermFile'
/tmp/MASTERR_XuSt1SMFCr/ccRtmnx8.o: In function `SACf__MAIN_CL_ST__main':
kp1_trapezoid_abstract_mt.c:(.text+0x69dd): undefined reference to `SACf_World_CL_ST_CL_INIT__init_TheWorld__SACt_World__World'
kp1_trapezoid_abstract_mt.c:(.text+0x69f1): undefined reference to `SACf_FileSystem_CL_ST_CL_INIT__init_TheFileSystem__SACt_FileSystem__FileSystem'
kp1_trapezoid_abstract_mt.c:(.text+0x6a05): undefined reference to `SACf_Terminal_CL_ST_CL_INIT__init_TheTerminal__SACt_Terminal__Terminal'
kp1_trapezoid_abstract_mt.c:(.text+0x6a19): undefined reference to `SACf_TermFile_CL_ST_CL_INIT__init_stdout__SACt_TermFile__TermFile'
collect2: ld returned 1 exit status
sac2c -O3 -v1 -maxlur 3 -mt -o kp1_trapezoid_mt kp1_trapezoid.sac
/tmp/MASTERR_XuSt1SMFCr/ccXjHbuh.o: In function `SACf__MAIN_CL_ST_CL_INIT__init':
kp1_trapezoid_mt.c:(.text+0x4676): undefined reference to `SACf_World_CL_ST_CL_INIT__init_TheWorld__SACt_World__World'
kp1_trapezoid_mt.c:(.text+0x468a): undefined reference to `SACf_Terminal_CL_ST_CL_INIT__init_TheTerminal__SACt_Terminal__Terminal'
kp1_trapezoid_mt.c:(.text+0x469e): undefined reference to `SACf_TermFile_CL_ST_CL_INIT__init_stdout__SACt_TermFile__TermFile'
kp1_trapezoid_mt.c:(.text+0x46b2): undefined reference to `SACf_FileSystem_CL_ST_CL_INIT__init_TheFileSystem__SACt_FileSystem__FileSystem'
/tmp/MASTERR_XuSt1SMFCr/ccXjHbuh.o: In function `SACf__MAIN_CL_ST__main':
kp1_trapezoid_mt.c:(.text+0x4d89): undefined reference to `SACf_World_CL_ST_CL_INIT__init_TheWorld__SACt_World__World'
kp1_trapezoid_mt.c:(.text+0x4d9d): undefined reference to `SACf_Terminal_CL_ST_CL_INIT__init_TheTerminal__SACt_Terminal__Terminal'
kp1_trapezoid_mt.c:(.text+0x4db1): undefined reference to `SACf_TermFile_CL_ST_CL_INIT__init_stdout__SACt_TermFile__TermFile'
kp1_trapezoid_mt.c:(.text+0x4dc5): undefined reference to `SACf_FileSystem_CL_ST_CL_INIT__init_TheFileSystem__SACt_FileSystem__FileSystem'
collect2: ld returned 1 exit status
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking