HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Need help with aCC compiler version 6
Operating System - Linux
1828171
Members
2544
Online
109975
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2007 10:50 PM
05-02-2007 10:50 PM
Need help with aCC compiler version 6
Hi
We were using aC++ compiler version 5 and now we are migrating to new Version 6 Compiler
But one of the module which compiles fine but on execution throws a run time error
"aCC runtime: Use of "-mt" must be consistent during both compilation and linking
.
ABORT instruction (core dumped)"
This means some of the libraries/archives are not compiled with "-mt" option,this error was not appearing with Version 5 compiler may its a new compiler feature
Can someone tell me how to switch off this feature in version 6 compiler
Thanks in advance
We were using aC++ compiler version 5 and now we are migrating to new Version 6 Compiler
But one of the module which compiles fine but on execution throws a run time error
"aCC runtime: Use of "-mt" must be consistent during both compilation and linking
.
ABORT instruction (core dumped)"
This means some of the libraries/archives are not compiled with "-mt" option,this error was not appearing with Version 5 compiler may its a new compiler feature
Can someone tell me how to switch off this feature in version 6 compiler
Thanks in advance
- Tags:
- -mt
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 03:55 AM
05-03-2007 03:55 AM
Re: Need help with aCC compiler version 6
Hi,
do exactly what the compiler tells you:
if you want to create a multithreaded application, every part of it need to be compiled/linked with the option '-mt'.
If it worked before without using '-mt' in all calls to aCC, it was by mistake.
Other UNIXes/Compilers behave exactly this way, as well.
mfG Peter
do exactly what the compiler tells you:
if you want to create a multithreaded application, every part of it need to be compiled/linked with the option '-mt'.
If it worked before without using '-mt' in all calls to aCC, it was by mistake.
Other UNIXes/Compilers behave exactly this way, as well.
mfG Peter
The Universe is a pretty big place,
it's bigger than anything anyone has ever dreamed of before.
So if it's just us, seems like an awful waste of space, right?
Jodie Foster in "Contact"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 04:51 PM
05-03-2007 04:51 PM
Re: Need help with aCC compiler version 6
You switch off this error by not linking with libpthread. -mt is a required option for making multithreaded aC++ applications.
It it didn't appear with aCC5, it is either a fluke, (the heap wasn't zeroed), or aCC6 generates better/smaller code.
There is a bug with one version of the aC++ runtime lib that will give false missing -mt errors if you have illegally linked a shared lib with the aC++ runtime libs in the wrong order. You can fix that by going to the latest:
PHSS_35978
>Peter: do exactly what the compiler tells you:
Right.
It it didn't appear with aCC5, it is either a fluke, (the heap wasn't zeroed), or aCC6 generates better/smaller code.
There is a bug with one version of the aC++ runtime lib that will give false missing -mt errors if you have illegally linked a shared lib with the aC++ runtime libs in the wrong order. You can fix that by going to the latest:
PHSS_35978
>Peter: do exactly what the compiler tells you:
Right.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2007 08:16 PM
05-08-2007 08:16 PM
Re: Need help with aCC compiler version 6
one of the TAO libraries was not compiled with -mt option
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP