You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ian Lance Taylor (Jira)" <ji...@apache.org> on 2019/09/16 17:45:00 UTC

[jira] [Created] (BEAM-8242) Go: unregistered Go functions fail when using -buildmode=pie

Ian Lance Taylor created BEAM-8242:
--------------------------------------

             Summary: Go: unregistered Go functions fail when using -buildmode=pie
                 Key: BEAM-8242
                 URL: https://issues.apache.org/jira/browse/BEAM-8242
             Project: Beam
          Issue Type: Bug
          Components: sdk-go
    Affects Versions: 2.15.0
         Environment: GNU/Linux
            Reporter: Ian Lance Taylor


If a Go program is built with -buildmode=pie, the code that transfers an unregistered function fails.  It looks up the symbol in the symbol table, but that is not the location of the function at execution time.  This causes a program crash when calling the function.

I have a patch for this problem that I will send shortly.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)