[OpenJDK 2D-Dev] RFR: JDK-8196218: [linux] libfontmanager should be linked against headless awt library

Phil Race philip.race at oracle.com
Fri Jan 26 17:09:03 UTC 2018


And the SCCS history which pre-dates mercurial says it was added by 
Kelly O'Hair
who was the JDK build lead at the time .. so not added by 2D.

D 1.86.1.1 07/03/21 18:00:55 ohair 187 185      00007/00000/00163
6537329: Move JdbcOdbc (JDBC-ODBC Bridge) to closed

https://bugs.openjdk.java.net/browse/JDK-6537329

There's no (or insufficient for me) clue as to why that change touched 
2D/AWTmakefiles.

Perhaps something to do with this comment :
 > the Makefile will be fixed to use the same Linux fake libraries trick 
on all Unix platforms,

-phil.

On 01/26/2018 08:54 AM, Erik Joelsson wrote:
>>>
>>> Testing: Build fails with configure option
>>>           --with-extra-ldflags="-Xlinker -z -Xlinker defs"
>>>           prior the fix. Succeeds after.
>>>
>>> Question for 2d-folks/build-dev folks:
>> I don't know about this, build folks probably know.
>>
> This is from way ahead of my time. The filtering is simply the 
> build-infra way of achieving the same thing as in the old build 
> system. Here is the corresponding code in jdk7:
>
> $ hg annotate make/sun/font/Makefile
> ...
>    0: #
>    0: # Created without -z defs on linux
>    0: #
>    0: ifeq ($(PLATFORM), linux)
>    0:   LDFLAGS_DEFS_OPTION =
>    0: endif 



More information about the build-dev mailing list