Mantis - gcc4core
Viewing Issue Advanced Details
5008 packaging major always 2012-10-02 18:36 2012-12-31 02:23
crisb  
maciej  
normal  
closed  
fixed  
none    
none  
0005008: gcc4 4.7.2 requires solaris 10 update 10 kernel.
When running any gcc command I get:

ld.so.1: gcc-4.7: fatal: libc.so.1: version `SUNW_1.22.7' not found (required by file /opt/csw/bin/gcc-4.7)
ld.so.1: gcc-4.7: fatal: libc.so.1: open failed: No such file or directory
Killed
Issue History
2012-10-02 18:36 crisb New Issue
2012-10-02 19:57 maciej Status new => assigned
2012-10-02 19:57 maciej Assigned To => maciej
2012-10-02 19:58 maciej Note Added: 0010153
2012-10-02 19:58 maciej Status assigned => acknowledged
2012-10-03 18:10 maciej Note Added: 0010160
2012-10-03 18:10 maciej Status acknowledged => feedback
2012-10-03 20:50 crisb Note Added: 0010161
2012-10-03 22:27 maciej Note Added: 0010162
2012-10-03 22:27 maciej Status feedback => confirmed
2012-10-04 00:15 maciej Note Added: 0010163
2012-10-07 09:46 maciej Note Added: 0010169
2012-12-16 10:23 maciej Note Added: 0010242
2012-12-16 10:23 maciej Status confirmed => feedback
2012-12-31 02:23 maciej Note Added: 0010255
2012-12-31 02:23 maciej Status feedback => closed
2012-12-31 02:23 maciej Resolution open => fixed

Notes
(0010153)
maciej   
2012-10-02 19:58   
I hear that there already is a fix in place, and it's enough that packages are rebuilt. I'm running a build now, and will post an update here when fresh packages are available for testing.
(0010160)
maciej   
2012-10-03 18:10   
Updated packages are now in unstable. Do they work for you?
(0010161)
crisb   
2012-10-03 20:50   
sadly not. I'm assuming the 2012.10.02 ones are the ones you mean, they're the ones i've tried.

There do appear to be 2012.10.03 packages for x86 but i'm on SPARC.
(0010162)
maciej   
2012-10-03 22:27   
Alright, let's go for another round, I think I found out why symbol maps weren't applied. I'll let you know when new packages are available.
(0010163)
maciej   
2012-10-04 00:15   
It doesn't build with the current flags (including the mapping).

ld: fatal: relocation error: R_SPARC_32: file .libs/compatibility.o: symbol __gxx_personality_v0: offset 0xe29b3 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file .libs/compatibility-atomic-c++0x.o: symbol __gxx_personality_v0: offset 0xe2d9f is non-aligned
(0010169)
maciej   
2012-10-07 09:46   
I rolled back GCC to the version from the dublin catalog.
(0010242)
maciej   
2012-12-16 10:23   
GCC is now rebuilt with Solaris 10 U5 maps and uploaded into unstable. Does it work for you?
(0010255)
maciej   
2012-12-31 02:23   
I think this is now resolved. If not, please reopen, or open a new bug.