- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    8u65
- 
    None
- 
        b03
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8149293 | 8u101 | Andrew Hughes | P4 | Resolved | Fixed | b01 | 
| JDK-8155438 | emb-8u101 | Andrew Hughes | P4 | Resolved | Fixed | b01 | 
                    If additional LDFLAGS containing commas are passed to the build e.g.
--with-extra-ldflags="-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
(which are the default flags on Fedora), then the build will fail as the call to SetupNativeCompilation expands LDFLAGS_JDKLIB early and the commas are interpreted to denote separate arguments to this macro.
On 8, this only affects the demo code (BUILD_DEMO_JVMTI_$1). It also affected the main JDK build on 9 until 8142907 which fixed both cases there. For 8, we should backport the relevant part of 8142907 under this bug.
--with-extra-ldflags="-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
(which are the default flags on Fedora), then the build will fail as the call to SetupNativeCompilation expands LDFLAGS_JDKLIB early and the commas are interpreted to denote separate arguments to this macro.
On 8, this only affects the demo code (BUILD_DEMO_JVMTI_$1). It also affected the main JDK build on 9 until 8142907 which fixed both cases there. For 8, we should backport the relevant part of 8142907 under this bug.
- backported by
- 
                    JDK-8149293 OpenJDK build can't handle commas in LDFLAGS -           
- Resolved
 
-         
- 
                    JDK-8155438 OpenJDK build can't handle commas in LDFLAGS -           
- Resolved
 
-         
- relates to
- 
                    JDK-8142907 Integration of minor fixes from the build-infra project -           
- Resolved
 
-