[#6258] In 2010r1-rc2 gfortran/libgomp test, lots of compiling test fail due to warning of fork

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

[#6258] In 2010r1-rc2 gfortran/libgomp test, lots of compiling test fail due to warning of fork

Submitted By: Vivi Li

Open Date

2010-09-16 05:47:06     Close Date

2010-09-29 03:33:06

Priority:

Medium High     Assignee:

Vivi Li

Stuart Henderson

Board:

N/A     Silicon Revision:

Resolution:

Fixed     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

2010r1-rc2     kernel rev.:

State:

Closed     Found In Release:

N/A

Is this bug repeatable?:

N/A     

Summary: In 2010r1-rc2 gfortran/libgomp test, lots of compiling test fail due to warning of fork

Details:

 

In 2010r1-rc2 gfortran/libgomp test, lots of compiling test fail. Log files are attached.

 

Bellow is an example in gfortran:

--

Executing on host: bfin-linux-uclibc-gfortran /home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gfortran.dg/PR19754_2.f90   -O1   -pedantic-errors    -lm  -mcpu=bf527-0.2 -o ./PR19754_2.exe    (timeout = 300)

spawn bfin-linux-uclibc-gfortran /home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gfortran.dg/PR19754_2.f90 -O1 -pedantic-errors -lm -mcpu=bf527-0.2 -o ./PR19754_2.exe

 

/opt/uClinux/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.3.5/libgfortran.so: warning: fork: this function is not implemented on no-mmu systems

output is:

/opt/uClinux/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.3.5/libgfortran.so: warning: fork: this function is not implemented on no-mmu systems

 

FAIL: gfortran.dg/PR19754_2.f90  -O1  (test for excess errors)

--

 

Bellow is an example in libgomp:

--

Executing on host: bfin-linux-uclibc-gcc /home/test/work/cruise/checkouts/toolchain/gcc-4.3/libgomp/testsuite/libgomp.fortran/appendix-a/a.16.1.f90  -I/home/test/work/cruise/checkouts/toolchain/gcc-4.3/libgomp/testsuite/.. -fmessage-length=0 -fopenmp  -O0      -lgfortranbegin -lgfortran -lm  -mcpu=bf527-0.2 -o ./a.16.1.exe    (timeout = 300)

spawn bfin-linux-uclibc-gcc /home/test/work/cruise/checkouts/toolchain/gcc-4.3/libgomp/testsuite/libgomp.fortran/appendix-a/a.16.1.f90 -I/home/test/work/cruise/checkouts/toolchain/gcc-4.3/libgomp/testsuite/.. -fmessage-length=0 -fopenmp -O0 -lgfortranbegin -lgfortran -lm -mcpu=bf527-0.2 -o ./a.16.1.exe^M

/opt/uClinux/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.3.5/libgfortran.so: warning: fork: this function is not implemented on no-mmu systems^M

output is:

/opt/uClinux/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.3.5/libgfortran.so: warning: fork: this function is not implemented on no-mmu systems^M

 

FAIL: libgomp.fortran/appendix-a/a.16.1.f90  -O0  (test for excess errors)

--

 

Follow-ups

 

--- Stuart Henderson                                         2010-09-16 08:47:58

this only seems to happen when the uclibc-full package is installed.

 

--- Steve Kilbane                                            2010-09-17 09:48:56

I'm also seeing it on the 2010R1-RC2 package without uclibc-full.

 

There's been a change somewhere. Consider:

int main(void) { return fork(); }

 

On 2010R1-RC1:

 

skilban@edin-florence:~/tmp> bfin-linux-uclibc-gcc x.c

/tmp/cc69SF2o.o: In function `_main':

x.c:(.text+0x6): undefined reference to `_fork'

collect2: ld returned 1 exit status

 

skilban@edin-florence:~/tmp> bfin-uclinux-gcc x.c

/tmp/ccKdW5O9.o: In function `_main':

x.c:(.text+0x6): undefined reference to `_fork'

collect2: ld returned 1 exit status

 

On 2010R1-RC2:

 

skilban@edin-florence:~/tmp> bfin-linux-uclibc-gcc x.c

/tmp/ccIBEW9V.o: In function `_main':

x.c:(.text+0x6): warning: fork: this function is not implemented on no-mmu

systems

 

skilban@edin-florence:~/tmp> bfin-uclinux-gcc x.c

/tmp/cc4Pw4em.o: In function `_main':

x.c:(.text+0x6): warning: fork: this function is not implemented on no-mmu

systems

 

--- Steve Kilbane                                            2010-09-17 10:06:30

__UCLIBC_HAS_STUBS__ was added to distribution/rpm/full-config in r4881. Without

that, these tests should have been failing with an unresolved symbol instead.

Was the test harness checking for that and considering them as passes (or at

least xfails)?

 

--- Mike Frysinger                                           2010-09-17 12:56:47

UCLIBC_HAS_STUBS was removed on purpose during the 2010R1 cycle.  the fact it is

still in full-config is an accident.  i've fixed it.

 

after this release, i'll probably change how we handle "full-config".

after all, this version exists to enable just two options (atm): ipv6 and

wchar.

 

--- Mike Frysinger                                           2010-09-18 07:14:40

actually, ive gone ahead and done that now in trunk.  the full-config no longer

exists at all.

 

--- Stuart Henderson                                         2010-09-19 06:47:44

Mike - is this something we should merge to the branch for RC3/4?

 

--- Mike Frysinger                                           2010-09-19 14:18:39

ive committed the minor fix needed for this bug (disable the stubs option).  if

you want to stick with that for the branch, i think that's OK.

 

--- Stuart Henderson                                         2010-09-20 09:23:20

mike- that's fine by me.

 

vivi- this has been fixed on the trunk and branch and will be fixed in RC3.

 

--- Vivi Li                                                  2010-09-29 03:33:06

OK with RC3.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

gfortran_log.tar.gz    application/x-gzip    508481    Vivi Li

libgomp_log.tar.gz    application/x-gzip    38641    Vivi Li

Attachments

Outcomes