suggestion for gold's testsuite makefile (initpri2 LDFLAGS)
John Marino
binutils@marino.st
Mon Feb 6 12:07:00 GMT 2012
More information about the Binutils mailing list
Mon Feb 6 12:07:00 GMT 2012
- Previous message (by thread): Cant` get the sources form CVS
- Next message (by thread): suggestion for gold's testsuite makefile (initpri2 LDFLAGS)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The initpri2 test can only pass if the --ctors-in-init-array option is enabled. With a default build, Gold enables this option by default. Still, the testsuite should not assume the option is enabled, it should explicitly set it. Suggestion to change line 2280 of Makefile.in FROM: @GCC_TRUE@@NATIVE_LINKER_TRUE@initpri2_LDFLAGS = -Bgcctestdir/ TO @GCC_TRUE@@NATIVE_LINKER_TRUE@initpri2_LDFLAGS = -Bgcctestdir/ -Wl,--ctors-in-init-array As background, the BSDs need to build Gold with a modified options.h file to set --no-ctors-in-init-array as the default. I'm in the process of getting DragonFly BSD to support DT_INIT_ARRAY and friends and this test was failing even though the crt1.o had been properly modified to support it. Making this change either has no effect or it means the difference between a pass or fail on a capable system with a non-standard ctors-in-init-array default. John
- Previous message (by thread): Cant` get the sources form CVS
- Next message (by thread): suggestion for gold's testsuite makefile (initpri2 LDFLAGS)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list