Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 2015 16:41:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        perl@FreeBSD.org
Subject:   [Bug 205307] lang/perl5.22: 5.22.1_4 undefined reference to `__stack_chk_fail_local'
Message-ID:  <bug-205307-14331-bZSHu7Le9D@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205307-14331@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205307-14331@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205307

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pfg@FreeBSD.org

--- Comment #6 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to Mathieu Arnold from comment #5)
It is really not strange after looking at the code.  Configure does the
following:

    case "$gccversion" in
    ?*)    set stack-protector-strong -fstack-protector-strong
        eval $checkccflag
        case "$dflt" in
        *-fstack-protector-strong*) ;; # It got added.
        *) # Try the plain/older -fstack-protector.
           set stack-protector -fstack-protector
           eval $checkccflag
           ;;
        esac
        ;;
    esac

-fstack-protector-strong was added to stable/9 by r286714, the check for the
flag passes, and the flag is used for compilation.  Whatever is needed for
linking, does not satisfy the perl build expectation, and the things break.

It seems that -fstack-protector-strong is broken on stable/9 and should be
patched out, at least in the perl Configure.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205307-14331-bZSHu7Le9D>