[#6642] gcc-4.5: libgomp.c/appendix-a/a.39.1.c fails to finish

Document created by Aaronwu Employee on Oct 17, 2013
Version 1Show Document
  • View in full screen mode

[#6642] gcc-4.5: libgomp.c/appendix-a/a.39.1.c fails to finish

Submitted By: Stuart Henderson

Open Date

2011-06-14 08:37:12     Close Date

2011-09-07 11:12:54

Priority:

Medium High     Assignee:

Stuart Henderson

Board:

N/A     Silicon Revision:

Resolution:

Fixed     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

N/A

Is this bug repeatable?:

yes     

Summary: gcc-4.5: libgomp.c/appendix-a/a.39.1.c fails to finish

Details:

 

This test fails to finish:

gcc-4.5/libgomp/testsuite/libgomp.c/appendix-a/a.39.1.c

 

spawn bfin-linux-uclibc-gcc /home/shender/gnu/toolchain/gcc-4.5/libgomp/testsuite/libgomp.c/appendix-a/a.39.1.c -I/home/shender/gnu/toolchain/gcc-4.5/libgomp/testsuite/.. -fmessage-length=0 -fopenmp -O2 -lgomp -lm -mcpu=bf537-0.2 -o ./a.39.1.exe^M

PASS: libgomp.c/appendix-a/a.39.1.c (test for excess errors)

Executing on bfin-linux-uclibc: /tmp/a.39.1.exe.15284    (timeout = 300)

 

testing freezes here.  works fine in 4.3

 

Follow-ups

 

--- Stuart Henderson                                         2011-06-27 09:54:01

gcc-4.5 appears to have changed from using:

typedef pthread_mutex_t omp_lock_t;

to:

typedef sem_t omp_lock_t;

in omp_lock_t.

 

the resultant size difference is throwing up dynamic runtime failures and

static link time failures:

/home/shender/gnu/toolchain/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.5.2/../../../../bfin-linux-uclibc/bin/ld:

LINKER BUG: .rofixup section size mismatch

/home/shender/gnu/toolchain/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.5.2/../../../../bfin-linux-uclibc/bin/ld:

final link failed: Nonrepresentable section on output

collect2: ld returned 1 exit status

 

--- Stuart Henderson                                         2011-09-07 11:12:54

forced omp_lock_t back to pthread_mutex_t for just now to prevent issues with

old  gcc.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes