condy0919 opened a new pull request, #3266:
URL: https://github.com/apache/brpc/pull/3266

   Add missing .previous directive after each .note.GNU-stack section in ARM 
inline assembly blocks. This ensures proper section switching and prevents 
potential assembler errors when building with asan.
   
   ### What problem does this PR solve?
   
   Issue Number: resolve #1186
   
   Problem Summary:
   
   When build brpc with asan enabled, gcc complains something similar with the 
following line
   
   ```
   `.note.GNU-stack' referenced in section `.init_array.00099' of 
../../output/lib/libbrpc.a(context.cpp.o): defined in discarded section
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to