[ 
https://issues.apache.org/jira/browse/BEAM-9233?focusedWorklogId=380208&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-380208
 ]

ASF GitHub Bot logged work on BEAM-9233:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Jan/20 21:12
            Start Date: 31/Jan/20 21:12
    Worklog Time Spent: 10m 
      Work Description: ianlancetaylor commented on issue #10737: [BEAM-9233] 
Support -buildmode=pie -ldflags=-w with unregistered Go functions
URL: https://github.com/apache/beam/pull/10737#issuecomment-580913576
 
 
   Thanks!
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 380208)
    Time Spent: 1h 10m  (was: 1h)

> Go: unregistered Go functions fail when using -buildmode=pie -ldflags=-w
> ------------------------------------------------------------------------
>
>                 Key: BEAM-9233
>                 URL: https://issues.apache.org/jira/browse/BEAM-9233
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-go
>    Affects Versions: 2.18.0
>         Environment: GNU/Linux
>            Reporter: Ian Lance Taylor
>            Priority: Major
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> If a Go program is built with -buildmode=pie -ldflags=-w, the code that 
> transfers an unregistered function fails.  It tries to look up the symbol in 
> the DWARF debug info, but that info has been stripped because of the -w flag. 
>  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.4#803005)

Reply via email to