编译报错的问题



  • /tmp/ccspin#.L0HKUc.s: Assembler messages:
    /tmp/ccspin#.L0HKUc.s:864: Error: Accessing my_id' as thread-local object /tmp/ccspin#.L0HKUc.s:864: Error: Accessingmy_id' as thread-local object
    /tmp/ccspin#.L0HKUc.s:864: Error: Accessing my_id' as thread-local object /tmp/ccspin#.L0HKUc.s:864: Error: Accessingmy_num' as thread-local object
    /tmp/ccspin#.L0HKUc.s:864: Error: Accessing my_num' as thread-local object /tmp/ccspin#.L0HKUc.s:864: Error: Accessingput_reply' as thread-local object
    /tmp/ccspin#.L0HKUc.s:864: Error: Accessing put_reply' as thread-local object /tmp/ccspin#.L0HKUc.s:864: Error: Accessingget_reply' as thread-local object
    /tmp/ccspin#.L0HKUc.s:864: Error: Accessing get_reply' as thread-local object /tmp/ccspin#.L0HKUc.s:864: Error: Accessingslave_r' as thread-local object
    /tmp/ccspin#.L0HKUc.s:864: Error: Accessing slave_r' as thread-local object /tmp/ccspin#.L0HKUc.s:864: Error: Accessingslave_w' as thread-local object
    /tmp/ccspin#.L0HKUc.s:864: Error: Accessing slave_w' as thread-local object /tmp/ccspin#.L0HKUc.s:864: Error: Accessingslave_w' as thread-local object
    /tmp/ccspin#.L0HKUc.s:864: Error: Accessing slave_w' as thread-local object /tmp/ccspin#.L0HKUc.s:864: Error: Accessingslave_r' as thread-local object
    /tmp/ccspin#.L0HKUc.s:864: Error: Accessing `slave_r' as thread-local object



  • @eirc编译报错的问题 中说:

    my_id' as thread-local

    代码和编译参数呢?


登录后回复