Bug#472613: ffmpeg-free_0.cvs20071007-4(hppa/experimental): FTBFS: missing -fPIC

Reinhard Tartler siretart at tauware.de
Thu Apr 17 08:42:38 UTC 2008


Fabian Greffrath <greffrath at leat.rub.de> writes:

> I fear you are confused by the build logs. The build is run twice, 
> once for the static libraries (without -FPIC -DPIC) and then again for 
> the shared libraries (With -fPIC -DPIC).
> I have checked the logs for some other archs and they all get the 
> right flags in the second build - all but hppa.

Maybe this part of configure (line 1815ff) is the culprit?

# PIC flags for shared library objects where they are needed
if enabled shared; then
    # LIBOBJFLAGS may have already been set in the OS configuration
    if test -z "$LIBOBJFLAGS" ; then
        case "$arch" in
            x86_64|ia64|alpha|sparc*|power*) LIBOBJFLAGS='$(PIC)' ;;
        esac
    fi
fi


I wonder why mipsen don't show the same problem, though. Maybe they have
no problem with non-pic code in libraries as i386 has? in that case, the
solution would be obvious: adding hppa to the quoted list...

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4





More information about the pkg-multimedia-maintainers mailing list