免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4121 | 回复: 4
打印 上一主题 下一主题

程序启动core dump,报aCC runtime: Use of "-mt" must be.... [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-07-27 14:23 |只看该作者 |倒序浏览
系统环境:
HP-UX B.11.23 U ia64
编译环境:
aCC: HP aC++/ANSI C B3910B A.06.10 [Mar 22 2006]
编译选项:
export CXXFLAGS="-AA -mt -g0"
export LDFLAGS="-AA -mt -lstd_v2 -lCsup -lcl -lnsl -lunwind"

程序启动时报:aCC runtime: Use of "-mt" must be consistent during both compilation and linking.
footprints检查发现-mt全部on

同样的程序在另外2台机器上正常运行,aC++ Runtime 版本如下:
有问题的那台:PHSS_31855            aC++ Runtime (IA: A.05.61, PA A.03.61)
正常的两台   :PHSS_35055            aC++ Runtime (IA: A.06.10, PA: A.03.71)
                     PHSS_35978            aC++ Runtime (IA: A.06.14, PA: A.03.76)

生产环境不让打补丁,另那台有问题的机器上其它程序都正常运行不会包上面那个错,很费解,望牛人帮忙解答。

论坛徽章:
0
2 [报告]
发表于 2011-07-27 14:53 |只看该作者
自己顶先,求解,急......

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
3 [报告]
发表于 2011-07-28 15:56 |只看该作者
如果编译和链接的时候mt都一样,那么还是先考虑打补丁吧。那个补丁安装了不需要重启~另外可以核对一下两台机器libc和linker对应的补丁号差多少。。

论坛徽章:
0
4 [报告]
发表于 2011-07-29 09:41 |只看该作者
谢谢回复

有问题那台:
PHCO_31642            Japanese libc manpages
PHCO_31700            libc cumulative message catalog files patch
PHCO_32488            Libc enablements for VxFS4.1
PHCO_32519            libc manpage cumulative patch

PHCO_31629            linker/compile manpages
PHCO_31664            Japanese linker/compiler manpages
PHSS_34353            linker + fdp cumulative patch

正常a:
PHCO_31642            Japanese libc manpages
PHCO_31700            libc cumulative message catalog files patch
PHCO_32488            Libc enablements for VxFS4.1
PHCO_32519            libc manpage cumulative patch

PHCO_31629            linker/compile manpages
PHCO_31664            Japanese linker/compiler manpages
PHSS_37947            linker + fdp cumulative patch

正常b:
PHCO_31700            libc cumulative message catalog files patch
PHCO_32519            libc manpage cumulative patch
PHCO_33710            cumulative 10.20 libc compatibility support
PHCO_33991            Japanese libc manpages
PHCO_34599            libc cumulative patch

PHCO_31664            Japanese linker/compiler manpages
PHCO_33763            linker/compile English manpages
PHSS_39821            linker + fdp cumulative patch

论坛徽章:
0
5 [报告]
发表于 2011-08-01 12:33 |只看该作者
服务器升级完aC++ Runtime问题解决
应该是链接ACE 需要 -lpthread
PHSS_31855这个版本 -lpthread有问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP