[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-13 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 Peter Bisroev changed: What|Removed |Added Attachment #47829|0 |1 is obsolete|

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-12 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #160 from Peter Bisroev --- Created attachment 47824 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47824=edit .o, .s and RTL dumps

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-12 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #161 from Peter Bisroev --- Hi Dave, I have added attachment 47824 (sancov.dump.tar.xz) containing .o, .s and RTL dumps as you have requested. It is for the compilation of gcc/sancov.c in gcc 8.3.0 using 4.7.4 as a host compiler.

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-13 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #172 from Peter Bisroev --- Hi Dave, (In reply to dave.anglin from comment #168) > There seems to be something broken regarding stub insertion for calls to > weak functions. Are we > using the correct branch form for calls to weak?

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-13 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #171 from Peter Bisroev --- Comment on attachment 47839 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47839 GCC 4.9.4 gimple-expr.c dump (aCC) Obsoleted by attachment 47840 as in this attachment inlining with aCC was not

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-25 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #205 from Peter Bisroev --- Hi Dave, I have submitted bug 25599 (https://sourceware.org/bugzilla/show_bug.cgi?id=25599) to binutils with a slightly simplified test case and CCed you as well. Additionally, I was also able to verify

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-24 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #202 from Peter Bisroev --- (In reply to dave.anglin from comment #201) > On 2020-02-22 4:33 p.m., peter.bisroev at groundlabs dot com wrote: > > They both seem to be ELF32 > Maybe run failing program under gdb to f

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-25 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #204 from Peter Bisroev --- (In reply to dave.anglin from comment #203) > On 2020-02-25 12:56 a.m., peter.bisroev at groundlabs dot com wrote: > > Now looking at the main.o generated by gcc, the relocation seems to be as >

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-01-25 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #126 from Peter Bisroev --- (In reply to dave.anglin from comment #123) > Just for reference, these are the stage1 sizes for cc1 and cc1plus on hpux: > gcc-10: > -bash-4.4$ /opt/gnu/bin/size cc1 cc1plus >textdata bss

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-01-25 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #124 from Peter Bisroev --- (In reply to dave.anglin from comment #122) > There is a script in contrib/test_summary.  If you run it in the top of your > build directory and > direct output to a file, it will generate a script to

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-01-22 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #115 from Peter Bisroev --- Hi Dave, (In reply to dave.anglin from comment #114) > I would try to build 4.7.4 directly with aCC or gcc 3.3.6 (i.e., skip > intermediates). When I tried building 4.7.4 with aCC, 3-stage bootstrap

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-05 Thread peter.bisroev at groundlabs dot com
then. (In reply to dave.anglin from comment #134) > On 2020-02-02 8:50 p.m., peter.bisroev at groundlabs dot com wrote: > > The tests are from are binutils-2.32. > > > > - gas.log > > FAIL: .file file names > > FAIL: .file file names ordering > > FAIL:

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-05 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #136 from Peter Bisroev --- (In reply to Peter Bisroev from comment #135) > # > ## > FAIL: .file file names ... > $ objdump -t ./file.o > > ./file.o:

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-01 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #128 from Peter Bisroev --- (In reply to dave.anglin from comment #125) > On 2020-01-25 7:59 p.m., peter.bisroev at groundlabs dot com wrote: > > Please let me know what you would like me to try next. > Let's look at t

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-01 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #129 from Peter Bisroev --- (In reply to dave.anglin from comment #127) > On 2020-01-25 9:16 p.m., peter.bisroev at groundlabs dot com wrote: > > As can be seen above, stage1 binaries are just under 9 times the size of

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-02 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #131 from Peter Bisroev --- (In reply to dave.anglin from comment #130) > > In the meantime, I wanted to ask you. Is it OK for me to add to the PATH > > directory containing binutils-2.32 compiled with aCC prior to bootstrapping > >

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-07 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #139 from Peter Bisroev --- (In reply to dave.anglin from comment #137) > You need to at least apply patch from comment#72.  This fixes regression > from 4.7.x.  You should also > consider the last patch set from The Written Word. 

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-07 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #140 from Peter Bisroev --- (In reply to EML from comment #138) > I think you need the patch from comment 63 as well Hi EML, I apologize, was meant to respond to you directly but put everything in one response under comment#139 to

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-01-24 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #121 from Peter Bisroev --- > > I think it would be good to test 4.7.4 build with make check. > I will try to get that done. Unfortunately I remember trying to get guile > (required for "make check" based on the errors) to work on

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-01-24 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #119 from Peter Bisroev --- (In reply to dave.anglin from comment #116) > It's the stage1 compile flags, "-O0 -g", which generate the large binaries.  > Later stages > are compiled with -O2.  You could reduce the size of stage1 using

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-01-24 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #120 from Peter Bisroev --- (In reply to EML from comment #117) > I do appreciate someone else taking a look at this; I've had a lot of > changes at work, so this really took a back seat. And I don't have access to > the HP compiler

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-02 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #133 from Peter Bisroev --- (In reply to dave.anglin from comment #132) > This has been reported before on net.  Maybe you should try using flex > library. > It provides the above symbols in its library.. Building binutils with flex

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-09 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #147 from Peter Bisroev --- (In reply to The Written Word from comment #145) > Created attachment 47799 [details] > gcc-8.3.0 patches v2 > > v2 of our patch set. Thank you The Written Word. However I still get an ICE failure with

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-09 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #149 from Peter Bisroev --- (In reply to The Written Word from comment #148) > (In reply to The Written Word from comment #144) > > We have a build running that seems to be going well. We are using gcc-4.9.4 > > to build 8.3.0. I

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-11 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #152 from Peter Bisroev --- (In reply to David Malcolm from comment #151) > (In reply to Peter Bisroev from comment #139) > > [...] > > > I am not sure how these selftests work yet but will take a look into them to > > see if we

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-11 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #153 from Peter Bisroev --- Hi Everyone, just wanted to give you an update on where I am at the moment. Unfortunately I did not have much time to dig into this more, but last night while trying to figure out what is causing those

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-11 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #155 from Peter Bisroev --- (In reply to dave.anglin from comment #154) > On 2020-02-11 11:31 a.m., peter.bisroev at groundlabs dot com wrote: > > We already know that we currently cannot compile stage1 with -O0 as it &

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-11 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #159 from Peter Bisroev --- (In reply to dave.anglin from comment #157) > On 2020-02-11 12:27 p.m., peter.bisroev at groundlabs dot com wrote: > > Just to confirm though, using gcc 4.7.4 that I have previously compiled wit

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-11 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #158 from Peter Bisroev --- (In reply to dave.anglin from comment #156) > On 2020-02-11 11:31 a.m., peter.bisroev at groundlabs dot com wrote: > > However the above can be compiled with -O0 with the same compiler. So I &g

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-21 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #195 from Peter Bisroev --- Hi Dave, I was doing a bit more searching and found this doc from HP, "Solaris to HP-UX Porting Guide" (http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.475.5577=rep1=pdf). I know it is not from

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-21 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #194 from Peter Bisroev --- (In reply to dave.anglin from comment #193) > I presume that if you compile main.cc with g++, hello() becomes weak.  You > could test with a second instance of hello. Yes, sorry forgot to mention that.

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-21 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #192 from Peter Bisroev --- (In reply to dave.anglin from comment #191) > On 2020-02-19 9:50 p.m., peter.bisroev at groundlabs dot com wrote: > The problem seems to be that HP ld doesn't handle the PCREL21B relocation >

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-22 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #200 from Peter Bisroev --- (In reply to dave.anglin from comment #199) > On 2020-02-22 4:09 p.m., peter.bisroev at groundlabs dot com wrote: > > Reassembled with GNU's as and relinked. PCREL21B changes to PCREL60B, but

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-22 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #198 from Peter Bisroev --- (In reply to dave.anglin from comment #196) > If you create a second object file with a second instance of hello, the > linker should not > complain about the second definition of hello since it is weak. 

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-12 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #164 from Peter Bisroev --- Created attachment 47829 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47829=edit GCC 4.9.4 gimple-expr.c dump (aCC)

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-12 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #165 from Peter Bisroev --- Hi Dave, (In reply to dave.anglin from comment #162) > On 2020-02-12 10:38 a.m., peter.bisroev at groundlabs dot com wrote: > > The exact HP linker errors from linking cc1, cc1plus and lto

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-12 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #163 from Peter Bisroev --- Created attachment 47828 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47828=edit GCC 4.9.4 gimple-expr.c dump (gcc)

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-13 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #176 from Peter Bisroev --- (In reply to dave.anglin from comment #174) > On 2020-02-13 2:44 p.m., dave.anglin at bell dot net wrote: > > The first thing to note is aCC doesn't use weak.  Instead, it uses COMDAT > > sections. 

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-13 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #175 from Peter Bisroev --- (In reply to dave.anglin from comment #173) > On 2020-02-13 1:11 p.m., peter.bisroev at groundlabs dot com wrote: > > If I try to compare this to aCC dump in attachment 47840 [details], I do &g

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-14 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #180 from Peter Bisroev --- (In reply to dave.anglin from comment #177) > On 2020-02-13 6:01 p.m., peter.bisroev at groundlabs dot com wrote: > > I have tried playing around with weak using aCC, however even though it &g

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-14 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #179 from Peter Bisroev --- (In reply to dave.anglin from comment #178) > The configure test didn't find support for COMDAT groups even though aCC and > HP ld > support them.  So, there's likely something incompatible with the

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-14 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #181 from Peter Bisroev --- (In reply to Peter Bisroev from comment #179) > (In reply to dave.anglin from comment #178) > > The configure test didn't find support for COMDAT groups even though aCC and > > HP ld > > support them.  So,

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-15 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #185 from Peter Bisroev --- (In reply to dave.anglin from comment #184) > On 2020-02-15 12:56 a.m., peter.bisroev at groundlabs dot com wrote: > > So we made some progress here. I have rebuilt 4.7.4 with --enable-comdat. 3

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-15 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #187 from Peter Bisroev --- (In reply to dave.anglin from comment #183) > On 2020-02-15 12:49 a.m., peter.bisroev at groundlabs dot com wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 > > > > --- Co

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-15 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #186 from Peter Bisroev --- Created attachment 47847 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47847=edit Basic compiler tests v00

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-13 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 Peter Bisroev changed: What|Removed |Added Attachment #47839|0 |1 is obsolete|

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-19 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #190 from Peter Bisroev --- (In reply to dave.anglin from comment #189) > On 2020-02-16 4:21 p.m., John David Anglin wrote: > > On 2020-02-15 3:32 p.m., peter.bisroev at groundlabs dot com wrote: > >> I have not ha

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-02-12 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #167 from Peter Bisroev --- (In reply to dave.anglin from comment #166) > The problem is is the branch offset is too big.  I believe GNU ld will > create a PLTOFF > entry in the PLT to handle this, but that's not happening with HP

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-01-22 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 Peter Bisroev changed: What|Removed |Added CC||peter.bisroev at groundlabs dot co

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-04-23 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 Peter Bisroev changed: What|Removed |Added CC||peter.bisroev at groundlabs dot co

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2020-05-01 Thread peter.bisroev at groundlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #209 from Peter Bisroev --- (In reply to dave.anglin from comment #206) > Does adding the linker option "-Wl,-O" help to reduce the size of cc1 and > cc1plus? Hi Dave, Sorry for the delayed response. I have tried linker option