Displaying 17 results from an estimated 17 matches for "as_needed".
Did you mean:
am_needed
2020 Nov 09
2
Targeting old glibc
...AT(elf64-x86-64)
> > GROUP ( /usr/lib/x86_64-linux-gnu/libm-2.31.a
> > /usr/lib/x86_64-linux-gnu/libmvec.a )
> > % cat /usr/lib/x86_64-linux-gnu/libm.so
> > /* GNU ld script
> > */
> > OUTPUT_FORMAT(elf64-x86-64)
> > GROUP ( /lib/x86_64-linux-gnu/libm.so.6 AS_NEEDED (
> > /lib/x86_64-linux-gnu/libmvec.so.1 ) )
>
> In this script the libmvec is mentioned as "AS_NEEDED", and it is not
> needed in my case, yet lld pulls its dependency toward exp at GLIBC_2.29.
>
> Is it a bug in lld?
>
> Regards,
> Alexandre
--
宋方睿
2020 Nov 09
2
Targeting old glibc
...% cat /usr/lib/x86_64-linux-gnu/libm.a
/* GNU ld script
*/
OUTPUT_FORMAT(elf64-x86-64)
GROUP ( /usr/lib/x86_64-linux-gnu/libm-2.31.a
/usr/lib/x86_64-linux-gnu/libmvec.a )
% cat /usr/lib/x86_64-linux-gnu/libm.so
/* GNU ld script
*/
OUTPUT_FORMAT(elf64-x86-64)
GROUP ( /lib/x86_64-linux-gnu/libm.so.6 AS_NEEDED (
/lib/x86_64-linux-gnu/libmvec.so.1 ) )
> Regards,
> Alexandre Bique
>
> On Wed, Oct 28, 2020 at 6:23 PM Alexandre Bique
> <bique.alexandre at gmail.com> wrote:
> >
> > On Wed, Oct 28, 2020 at 6:07 PM Fangrui Song <maskray at google.com> wrote:
> > &g...
2020 Nov 10
2
Targeting old glibc
.../libm-2.31.a
> > > > /usr/lib/x86_64-linux-gnu/libmvec.a )
> > > > % cat /usr/lib/x86_64-linux-gnu/libm.so
> > > > /* GNU ld script
> > > > */
> > > > OUTPUT_FORMAT(elf64-x86-64)
> > > > GROUP ( /lib/x86_64-linux-gnu/libm.so.6 AS_NEEDED (
> > > > /lib/x86_64-linux-gnu/libmvec.so.1 ) )
> > >
> > > In this script the libmvec is mentioned as "AS_NEEDED", and it is not
> > > needed in my case, yet lld pulls its dependency toward exp at GLIBC_2.29.
> > >
> > > Is it a b...
2020 Nov 09
0
Targeting old glibc
...ld script
> */
> OUTPUT_FORMAT(elf64-x86-64)
> GROUP ( /usr/lib/x86_64-linux-gnu/libm-2.31.a
> /usr/lib/x86_64-linux-gnu/libmvec.a )
> % cat /usr/lib/x86_64-linux-gnu/libm.so
> /* GNU ld script
> */
> OUTPUT_FORMAT(elf64-x86-64)
> GROUP ( /lib/x86_64-linux-gnu/libm.so.6 AS_NEEDED (
> /lib/x86_64-linux-gnu/libmvec.so.1 ) )
In this script the libmvec is mentioned as "AS_NEEDED", and it is not
needed in my case, yet lld pulls its dependency toward exp at GLIBC_2.29.
Is it a bug in lld?
Regards,
Alexandre
2020 Nov 09
0
Targeting old glibc
...UP ( /usr/lib/x86_64-linux-gnu/libm-2.31.a
> > > /usr/lib/x86_64-linux-gnu/libmvec.a )
> > > % cat /usr/lib/x86_64-linux-gnu/libm.so
> > > /* GNU ld script
> > > */
> > > OUTPUT_FORMAT(elf64-x86-64)
> > > GROUP ( /lib/x86_64-linux-gnu/libm.so.6 AS_NEEDED (
> > > /lib/x86_64-linux-gnu/libmvec.so.1 ) )
> >
> > In this script the libmvec is mentioned as "AS_NEEDED", and it is not
> > needed in my case, yet lld pulls its dependency toward exp at GLIBC_2.29.
> >
> > Is it a bug in lld?
> >
> >...
2018 Apr 27
0
formating DVR-RW
...so. :))
It has a cdrecord-wodim-compatibility mode described in man 1 xorrecord.
Formatting is done by:
xorrecord -v dev=/dev/sr0 blank=format_overwrite
The native command mode is more versatile but demands learning new names
and new rules. See man 1 xorriso.
xorriso -outdev /dev/sr0 -format as_needed
The mode "as_needed" formats what can be formatted and is not formatted yet.
It throws no error if the medium is not suitable for formatting.
Have a nice day :)
Thomas
2020 Nov 10
0
Targeting old glibc
...t; > /usr/lib/x86_64-linux-gnu/libmvec.a )
> > > > > % cat /usr/lib/x86_64-linux-gnu/libm.so
> > > > > /* GNU ld script
> > > > > */
> > > > > OUTPUT_FORMAT(elf64-x86-64)
> > > > > GROUP ( /lib/x86_64-linux-gnu/libm.so.6 AS_NEEDED (
> > > > > /lib/x86_64-linux-gnu/libmvec.so.1 ) )
> > > >
> > > > In this script the libmvec is mentioned as "AS_NEEDED", and it is not
> > > > needed in my case, yet lld pulls its dependency toward exp at GLIBC_2.29.
> > > >...
2020 Feb 28
2
Demotion of shared symbols resolved from the dynamic linker.
On PowerPC we have a failing address sanitizer test when linking with LLD.
The issue is that the symbol '__libc_stack_end' is resolved to an undefined
weak symbol when linking with LLD but not when linking (with the exact same
command/input) with other linkers. Tracing the symbol I see it is resolved
to a definition in the dynamic linker as expected:
2012 Jun 22
2
How to recognize an MBR suitable for isohybrid --mac ?
...-apm-hfsplus \
-V Fedora-LiveCD \
/mnt
(My apologies for using the unchanged Volume Id "Fedora-LiveCD".
The booting system wants to see this in its /dev/disk/by-label/.)
- Put on CD, DVD or BD:
xorriso-1.2.3/xorriso/xorriso -as cdrecord \
dev=/dev/sr0 -v blank=as_needed -eject FedoraRepack.iso
- Put on USB stick (Caution: Make sure not to overwrite your hard disk !):
dd if=FedoraRepack.iso bs=4M of=/dev/sdc ; sync
----------------------------------------------------------------------
Have a nice day :)
Thomas
2008 Oct 24
2
Failure to boot isohybrid image from USB stick
...d file tree under /mnt
as ISO image directly onto USB stick at /dev/sdb:
xorriso -as mkisofs -o /dev/sdb \
-b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \
-no-emul-boot -boot-load-size 4 -boot-info-table \
/mnt
resp.:
xorriso -outdev stdio:/dev/sdb \
-blank as_needed \
-boot_image isolinux dir=/boot/isolinux \
-map /mnt /
The MBR feature may be disabled by adding option
-as mkisofs ... isolinux_mbr=off ...
resp.
-boot_image isolinux isohybrid=off
Default is mode "auto". Mode "on" would prevent the
ISO image generati...
2014 Jan 20
3
[PATCH] Add some man pages.
Add very basic pages for:
isohybrid - It's not particularly more useful than --help, but my QA
department really wants this to exist.
memdiskfind - Explain what it does and its invocation.
Signed-off-by: Peter Jones <pjones at redhat.com>
---
man/isohybrid.1 | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
man/memdiskfind.1 | 10 +++++++++
2 files changed, 71
2014 Feb 02
2
xorriso or genisoimage syntax assistance
...these options are add-ons which you will not find
in mkisofs. Vice versa, several mkisofs options are not supported
by xorriso -as mkisofs. Most notably: -udf, -hfs.
You may also use xorriso to put the ISO image onto optical
media on GNU/Linux, FreeBSD, or Solaris:
xorriso -as cdrecord -v blank=as_needed -eject output.iso
(Documented in man xorrecord.)
Send bug reports or enhancement wishes to me directly or to
bug-xorriso at gnu.org
Have a nice day :)
Thomas
2020 Oct 28
2
Targeting old glibc
On Wed, Oct 28, 2020 at 6:07 PM Fangrui Song <maskray at google.com> wrote:
>
> On 2020-10-28, Alexandre Bique via llvm-dev wrote:
> >Hi,
> >
> >I wonder what is the right way to target an old glibc?
> >
> >I have a machine which is up to date (glibc 2.32 and clang+lld 10.0.1).
> >
> >So far I've been able to target older glibc by having a
2008 Oct 07
7
Looking for testers and advise about ISOLINUX within ISO 9660
...-load-size 4 -boot-info-table \
/media/dvd \
| \
xorriso -as cdrecord -v dev=/dev/hdc -
xorriso also serves as "cdrecord" here.
One can have the same in xorriso's own command notation
and with automatic blanking of media which need it:
xorriso -outdev /dev/hdc \
-blank as_needed \
-map /media/dvd / \
-boot_image isolinux dir=/boot/isolinux
xorriso is comprised of the following components:
- libisofs under responsibility of Vreixo Formoso,
- libburn, libisoburn, xorriso under responsibility
of me, Thomas Schmitt.
Neither Vreixo nor i have experience with creati...
2013 Nov 23
9
Sysinux 6 will not boot ISOs on BIOS (i.e. pre-UEFI) systems
-- Re-sent as original may be stuck at awaiting "authorisation" (originally
sent before I joined the mailing list)
Hi All,
It is impossible to boot Linux-based ISOs that use Syslinux 6.02 via CD or
DVD on older - non-UEFI - systems. Any attempt to do so will result in the
following error message: ISOLINUX 6.02 ETCDisolinux: Disk error 01, AX =
4279, drive FE
It is still possible to
2017 Aug 01
2
[RFC] Profile guided section layout
...scard all others.
if (auto *Arg = Args.getLastArg(OPT_retain_symbols_file)) {
diff --git a/ELF/Options.td b/ELF/Options.td
index 0de0d73..bd84533 100644
--- a/ELF/Options.td
+++ b/ELF/Options.td
@@ -52,6 +52,9 @@ def allow_multiple_definition: F<"allow-multiple-definition">,
def as_needed: F<"as-needed">,
HelpText<"Only set DT_NEEDED for shared libraries if used">;
+def callgraph_ordering_file: S<"callgraph-ordering-file">,
+ HelpText<"Layout sections to optimize the given callgraph">;
+
// -chroot doesn't ha...
2017 Jul 31
2
[RFC] Profile guided section layout
...ake<MergeInputSection>(this, &Sec, Name);
return make<InputSection>(this, &Sec, Name);
diff --git a/ELF/Options.td b/ELF/Options.td
index 0de0d73..000e111 100644
--- a/ELF/Options.td
+++ b/ELF/Options.td
@@ -162,6 +162,9 @@ def nostdlib: F<"nostdlib">,
def no_as_needed: F<"no-as-needed">,
HelpText<"Always DT_NEEDED for shared libraries">;
+def no_cfg_profile_reorder: F<"no-cfg-profile-reorder">,
+ HelpText<"Disable reordering of sections based on profile information">;
+
def no_color_diagnosti...