https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71145
Bug ID: 71145 Summary: Alpha: Error: No lda !gpdisp!278 was found Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mcree at orcon dot net.nz Target Milestone: --- Target: alpha In certain packages on debian-ports build logs for the Alpha architecture I am seeing compile failures of the nature: {standard input}: Assembler messages: {standard input}:7233: Error: No lda !gpdisp!278 was found One such example is src/player/SubscriberInfo.o of the source package libavg (build log is at https://buildd.debian.org/status/fetch.php?pkg=libavg&arch=alpha&ver=1.8.1-2.1&stamp=1461798687). Compile failure happens with gcc-5 (Debian version 5.3.1-19) and also with gcc/g++ (7.0.0) built from the trunk about a week ago (though the line number of the failure changes). I will attempt to attach preprocessed source of SubscriberInfo.cpp from libavg. Um, no I can't; it's too large for the 1000kB limit. How can I provide the file? Compiling with: g++ -pthread -ffast-math -pipe -g -O2 -c SubscriberInfo-preprocessed.cpp -fPIC -o .libs/SubscriberInfo.o results in the No lda gpdisp error. It successfully compiles if the -O2 is changed to -O0 or -O1.