You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "macroguo-ghy (via GitHub)" <gi...@apache.org> on 2024/07/31 08:14:54 UTC

[I] [Bug] Can not compile on M1 MacOS because malloc.h was included in allocator.h [doris]

macroguo-ghy opened a new issue, #38599:
URL: https://github.com/apache/doris/issues/38599

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   master branch
   
   ### What's Wrong?
   
   compile fail
   ```
    fatal error: 'malloc.h' file not found
   #include <malloc.h>
            ^~~~~~~~~~
   ```
   
   ### What You Expected?
   
   success
   
   ### How to Reproduce?
   
   ./build.sh --be --fe
   
   ### Anything Else?
   
   Introduced by this PR https://github.com/apache/doris/pull/37234
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Bug] Can not compile on M1 MacOS because malloc.h was included in allocator.h [doris]

Posted by "macroguo-ghy (via GitHub)" <gi...@apache.org>.
macroguo-ghy closed issue #38599: [Bug] Can not compile on M1 MacOS because malloc.h was included in allocator.h
URL: https://github.com/apache/doris/issues/38599


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Bug] Can not compile on M1 MacOS because malloc.h was included in allocator.h [doris]

Posted by "TangSiyang2001 (via GitHub)" <gi...@apache.org>.
TangSiyang2001 commented on issue #38599:
URL: https://github.com/apache/doris/issues/38599#issuecomment-2260523742

   just replace it with header <cstdlib>


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org