Bug 1450353

Summary: alsa-lib-1.1.4-1 package cannot be compiled on s390x
Product: [Fedora] Fedora Reporter: Jaroslav Kysela <jkysela>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: dan, davejohansen, fweimer, jakub, jwakely, law, mpolacek
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: gcc-7.1.1-2.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-09 19:21:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 467765    

Description Jaroslav Kysela 2017-05-12 10:15:41 UTC
Description of problem:

  gcc issue when updating the alsa-lib package


How reproducible:

  Build alsa-lib-1.1.4-1 .


Actual results:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -c pcm_rate_linear.c  -fPIC -DPIC -o .libs/pcm_rate_linear.o
pcm_rate_linear.c: In function 'linear_expand':
pcm_rate_linear.c:136:1: internal compiler error: output_operand: cannot decompose address
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
{standard input}: Assembler messages:
{standard input}:2462: Warning: end of file not at end of a line; newline inserted
{standard input}:2463: Error: missing operand
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive

Comment 2 Marek Polacek 2017-05-12 10:19:26 UTC
Looks like https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80303

Comment 3 Jakub Jelinek 2017-05-12 10:44:10 UTC
This one seems to be without -fsanitize=, so it would be nice to have a preprocessed source, reduced and filed upstream.

Comment 4 Jakub Jelinek 2017-05-12 11:44:29 UTC
Reduced testcase -O2 -march=zEC12:
int a, e;
const char b;
char c;
const int d;
void bar (short);

void
foo (int x, int y)
{
  long f = d;
  short g = 0;
  while (e)
    while (a < x)
      {
	if (y)
	  goto *d;
	g = b | b + g;
	bar (g);
	c = (char) (long) foo;
      }
}

Comment 5 Jaroslav Kysela 2017-05-16 10:43:53 UTC
Any news for this? It blocks me a little. Thanks.

Comment 6 Dan HorĂ¡k 2017-05-17 11:45:47 UTC
*** Bug 1451722 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2017-06-01 13:37:36 UTC
gcc-7.1.1-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d0fd5c28f7

Comment 8 Fedora Update System 2017-06-04 05:13:33 UTC
gcc-7.1.1-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d0fd5c28f7

Comment 9 Fedora Update System 2017-06-09 19:21:36 UTC
gcc-7.1.1-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.