RFR: 8272700: [macos] Build failure with Xcode 13.0 after JDK-8264848

2021-08-19 Thread Jie Fu
Hi all, May I get reviews for this small change? The failure is caused by incorrect flag `-mstack-alignment=16-DMAC_OS_X_VERSION_MIN_REQUIRED=10120`. The following command works fine with Xcode 12.0 but fails with Xcode 13.0. clang++ -mstack-alignment=16-DMAC_OS_X_VERSION_MIN_REQUIRED=10120 a.

Re: RFR: 8272700: [macos] Build failure with Xcode 13.0 after JDK-8264848

2021-08-19 Thread David Holmes
On Thu, 19 Aug 2021 07:09:52 GMT, Jie Fu wrote: > Hi all, > > May I get reviews for this small change? > > The failure is caused by incorrect flag > `-mstack-alignment=16-DMAC_OS_X_VERSION_MIN_REQUIRED=10120`. > > The following command works fine with Xcode 12.0 but fails with Xcode 13.0. >

Compiling JDK with gprof

2021-08-19 Thread Thomas, Samuel
Hi all, I'm trying to run some program profiling of the JDK for a research project and am trying to use gprof to gather specific performance metrics of routines and subroutines in the JDK. However, I don't have much experience with the build process other than following the setup instructions, and

Re: Compiling JDK with gprof

2021-08-19 Thread Aleksey Shipilev
On 8/19/21 4:55 PM, Thomas, Samuel wrote: Could someone help me find where to add additional flags to the build instructions? Look in configure help? $ sh ./configure --help | grep flags --with-extra-cflags extra flags to be used when compiling jdk c-files --with-extra-cxxflags extra

Re: Compiling JDK with gprof

2021-08-19 Thread Thomas, Samuel
Great, this is exactly what I was looking for. Thank you for your help! Best, Sam On Thu, Aug 19, 2021 at 10:59 AM Aleksey Shipilev wrote: > On 8/19/21 4:55 PM, Thomas, Samuel wrote: > > Could someone help me find where to add additional flags to the build > > instructions? > > Look in configu

Re: RFR: 8272700: [macos] Build failure with Xcode 13.0 after JDK-8264848

2021-08-19 Thread Jie Fu
On Thu, 19 Aug 2021 08:04:39 GMT, David Holmes wrote: >> Hi all, >> >> May I get reviews for this small change? >> >> The failure is caused by incorrect flag >> `-mstack-alignment=16-DMAC_OS_X_VERSION_MIN_REQUIRED=10120`. >> >> The following command works fine with Xcode 12.0 but fails with X

Integrated: 8272700: [macos] Build failure with Xcode 13.0 after JDK-8264848

2021-08-19 Thread Jie Fu
On Thu, 19 Aug 2021 07:09:52 GMT, Jie Fu wrote: > Hi all, > > May I get reviews for this small change? > > The failure is caused by incorrect flag > `-mstack-alignment=16-DMAC_OS_X_VERSION_MIN_REQUIRED=10120`. > > The following command works fine with Xcode 12.0 but fails with Xcode 13.0. >