Like all other target libraries, libgomp should not require perl to compile. This is either a documention failure as the docs say perl is not required or this is a bug in libgomp for requiring perl.
Created attachment 10692 [details] prototype patch This is a prototype patch to fix the bug using autoconf to compute the necessary sizes/alignments Note that I'm *not* going to test and submit this patch any further.
In: http://gcc.gnu.org/install/prerequisites.html perl version 5.6.1 (or later) Necessary when regenerating Makefile dependencies in libiberty. Necessary when regenerating libiberty/functions.texi. Necessary when generating manpages from Texinfo manuals. Necessary when targetting Darwin, building libstdc++, and not using --disable-symvers. Used by various scripts to generate some files included in CVS (mainly Unicode-related and rarely changing) from source tables. No mention of libgomp here, this is at least a documention bug.
Subject: Bug 25884 Author: rth Date: Wed Jan 25 19:17:57 2006 New Revision: 110220 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110220 Log: PR libgomp/25884 * Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove. * configure.ac (PERL): Don't set. (gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here. (OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE, OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions. * omp.h.in: Wrap the new configure substitutions with @ characters. * omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise. * aclocal.m4, configure, Makefile.in: Regenerate. * mkomp_h.pl: Delete. Removed: trunk/libgomp/mkomp_h.pl Modified: trunk/libgomp/ChangeLog trunk/libgomp/Makefile.am trunk/libgomp/Makefile.in trunk/libgomp/configure trunk/libgomp/configure.ac trunk/libgomp/libgomp_f.h.in trunk/libgomp/omp.h.in trunk/libgomp/omp_lib.f90.in trunk/libgomp/omp_lib.h.in trunk/libgomp/testsuite/Makefile.in
Fixed.