db2 build failed
On the same J, building the Debian db-2.7.7 "db2" libraries fails after building the "important" pieces with the following:
gcc -g3 -pg -Ibuild_unix -Iinclude -fPIC -Wall -pipe -D_REENTRANT -c -o btreec
cc1: warning: PIC code generation is not compatible with profiling
btree/bt_compare.c: In function `__bam_cmp':btree/bt_compare.c:137: Internal compiler error in output_90, at insn-output.c:4
Bdale
Bdale Garbee writes...
Quoted 10 lines
On the same J, building the Debian db-2.7.7 "db2" libraries fails after building the "important" pieces with the following:
gcc -g3 -pg -Ibuild_unix -Iinclude -fPIC -Wall -pipe -D_REENTRANT -c -o btr eec
cc1: warning: PIC code generation is not compatible with profiling
btree/bt_compare.c: In function `__bam_cmp':btree/bt_compare.c:137: Internal compiler error inoutput_90, at insn-output. c:4
Alan Modra just mentioned that profiling is broken. He is working on a fix.
Signature · 2 lines
Matt Taggart Linux Development Lab [email protected] HP Linux Systems Operation
Quoted 1 line · Matt Taggart
Alan Modra just mentioned that profiling is broken. He is working on a fix.
And, amazingly, he's just committed a fix. :-)
Err, "-r devel" branch only, at the moment. I'm about to move all the devel stuff down to our mainline.
Alan
Signature · 1 line
Linuxcare. Support for the Revolution.
Alan Modra writes...
Quoted 5 lines · Matt Taggart
Quoted 2 lines
Alan Modra just mentioned that profiling is broken. He is working on a fix.
And, amazingly, he's just committed a fix. :-)
Of course right after I finished building a new xc based on the devel branch :( I am rebuilding now and will post shortly.
Signature · 2 lines
Matt Taggart Linux Development Lab [email protected] HP Linux Systems Operation
Quoted 4 lines · Matt Taggart
Quoted 1 line
And, amazingly, he's just committed a fix. :-)
Of course right after I finished building a new xc based on the devel branch :( I am rebuilding now and will post shortly.
Sorry. I thought the fix would take me longer. :)
Note that -p is still not compatible with -fpic (and that means -p is not OK for hppa64 at all, because there you always get PIC). I'm not sure of all the reasons why -p and -fpic are incompatible, but one is to do with the way the prologue code generates a symbol ref. _That_ problem will still generate compiler crashes, but you do get a warning.
Err, I just looked at our glibc support for profiling, gmon/mcount.c, and see that the prologue code is wrong anyway. What's there is for HPUX _mount, which is non-standard. !@(*$&()*
So that's double sorry, I guess :-(
Alan Modra
Signature · 1 line
Linuxcare. Support for the Revolution.