HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Segmentation fault (program cc1plus)
Operating System - HP-UX
1833852
Members
1898
Online
110063
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
Go to solution
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
03-31-2003 07:14 AM
03-31-2003 07:14 AM
Good Morning!
We are getting the following error when trying to compile using HP's version 3.2 gcc:
Pid 17226 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap space,
or stack size exceeded maxssiz.
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
maxssiz is already at 32MB.
Any ideas on how to fix this error.
Thx, Dario
We are getting the following error when trying to compile using HP's version 3.2 gcc:
Pid 17226 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap space,
or stack size exceeded maxssiz.
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
maxssiz is already at 32MB.
Any ideas on how to fix this error.
Thx, Dario
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 07:56 AM
03-31-2003 07:56 AM
Solution
Well, maxssiz is only one of the possible problems. You need to also check maxdsiz (very likely) or you may need to add more swap space or enable pseudo-swap (kernel parameter swapmem_on=1).
For a development machine, maxssiz at 32MB might be a little low although I would not exceed 64MB except in very unusual cases because it can lead to very poor programming practices.
For a development machine, maxssiz at 32MB might be a little low although I would not exceed 64MB except in very unusual cases because it can lead to very poor programming practices.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 09:19 AM
03-31-2003 09:19 AM
Re: Segmentation fault (program cc1plus)
Clay:
Thank you for the answer.
Regards,
Dario
Thank you for the answer.
Regards,
Dario
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 12:34 PM
03-31-2003 12:34 PM
Re: Segmentation fault (program cc1plus)
Guys:
I made maxssiz 50MB and it worked. Now I am getting the following library error:
ld: Can't find library or mismatched ABI for -lgcc
Fatal error.
collect2: ld returned 1 exit status
Here is the output of getconf KERNEL_BITS = 64
and we are running 11i.
Also here is the file command executed in every file under /usr/local/pa20_64/bin
addr2line: ELF-64 executable object file - PA-RISC 2.0 (LP64)
ar: ELF-64 executable object file - PA-RISC 2.0 (LP64)
as: ELF-64 executable object file - PA-RISC 2.0 (LP64)
c++: ELF-64 executable object file - PA-RISC 2.0 (LP64)
c++filt: ELF-64 executable object file - PA-RISC 2.0 (LP64)
cpp: ELF-64 executable object file - PA-RISC 2.0 (LP64)
g++: ELF-64 executable object file - PA-RISC 2.0 (LP64)
gas: ELF-64 executable object file - PA-RISC 2.0 (LP64)
gasp: ELF-64 executable object file - PA-RISC 2.0 (LP64)
gcc: ELF-64 executable object file - PA-RISC 2.0 (LP64)
gcc64: ELF-64 executable object file - PA-RISC 2.0 (LP64)
gccbug: commands text
gcov: ELF-64 executable object file - PA-RISC 2.0 (LP64)
gprof: ELF-64 executable object file - PA-RISC 2.0 (LP64)
hppa64-hp-hpux11.00-c++: ELF-64 executable object file - PA-RISC 2.0 (LP6
4)
hppa64-hp-hpux11.00-g++: ELF-64 executable object file - PA-RISC 2.0 (LP6
4)
hppa64-hp-hpux11.00-gcc: ELF-64 executable object file - PA-RISC 2.0 (LP6
4)
hppa64-hp-hpux11.00-gcc-3.2: ELF-64 executable object file - PA-RISC 2.0 (LP6
4)
ld: ELF-64 executable object file - PA-RISC 2.0 (LP64)
nm: ELF-64 executable object file - PA-RISC 2.0 (LP64)
objcopy: ELF-64 executable object file - PA-RISC 2.0 (LP64)
objdump: ELF-64 executable object file - PA-RISC 2.0 (LP64)
ranlib: ELF-64 executable object file - PA-RISC 2.0 (LP64)
readelf: ELF-64 executable object file - PA-RISC 2.0 (LP64)
size: ELF-64 executable object file - PA-RISC 2.0 (LP64)
strings: ELF-64 executable object file - PA-RISC 2.0 (LP64)
strip: ELF-64 executable object file - PA-RISC 2.0 (LP64)
Any ideas, thank you.
I made maxssiz 50MB and it worked. Now I am getting the following library error:
ld: Can't find library or mismatched ABI for -lgcc
Fatal error.
collect2: ld returned 1 exit status
Here is the output of getconf KERNEL_BITS = 64
and we are running 11i.
Also here is the file command executed in every file under /usr/local/pa20_64/bin
addr2line: ELF-64 executable object file - PA-RISC 2.0 (LP64)
ar: ELF-64 executable object file - PA-RISC 2.0 (LP64)
as: ELF-64 executable object file - PA-RISC 2.0 (LP64)
c++: ELF-64 executable object file - PA-RISC 2.0 (LP64)
c++filt: ELF-64 executable object file - PA-RISC 2.0 (LP64)
cpp: ELF-64 executable object file - PA-RISC 2.0 (LP64)
g++: ELF-64 executable object file - PA-RISC 2.0 (LP64)
gas: ELF-64 executable object file - PA-RISC 2.0 (LP64)
gasp: ELF-64 executable object file - PA-RISC 2.0 (LP64)
gcc: ELF-64 executable object file - PA-RISC 2.0 (LP64)
gcc64: ELF-64 executable object file - PA-RISC 2.0 (LP64)
gccbug: commands text
gcov: ELF-64 executable object file - PA-RISC 2.0 (LP64)
gprof: ELF-64 executable object file - PA-RISC 2.0 (LP64)
hppa64-hp-hpux11.00-c++: ELF-64 executable object file - PA-RISC 2.0 (LP6
4)
hppa64-hp-hpux11.00-g++: ELF-64 executable object file - PA-RISC 2.0 (LP6
4)
hppa64-hp-hpux11.00-gcc: ELF-64 executable object file - PA-RISC 2.0 (LP6
4)
hppa64-hp-hpux11.00-gcc-3.2: ELF-64 executable object file - PA-RISC 2.0 (LP6
4)
ld: ELF-64 executable object file - PA-RISC 2.0 (LP64)
nm: ELF-64 executable object file - PA-RISC 2.0 (LP64)
objcopy: ELF-64 executable object file - PA-RISC 2.0 (LP64)
objdump: ELF-64 executable object file - PA-RISC 2.0 (LP64)
ranlib: ELF-64 executable object file - PA-RISC 2.0 (LP64)
readelf: ELF-64 executable object file - PA-RISC 2.0 (LP64)
size: ELF-64 executable object file - PA-RISC 2.0 (LP64)
strings: ELF-64 executable object file - PA-RISC 2.0 (LP64)
strip: ELF-64 executable object file - PA-RISC 2.0 (LP64)
Any ideas, thank you.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP