This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 12/12] Add nds32 port to build-many-glibcs.py


On Wed, 30 May 2018, Vincent Chen wrote:

> diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
> index 19411c1..ca015d0 100755
> --- a/scripts/build-many-glibcs.py
> +++ b/scripts/build-many-glibcs.py
> @@ -302,6 +302,14 @@ class Context(object):
>                                   'ccopts': '-mabi=32'},
>                                  {'variant': 'n64-nan2008-soft',
>                                   'ccopts': '-mabi=64'}])
> +        self.add_config(arch='nds32le',
> +                        os_name='linux-gnu',
> +                        gcc_cfg=['--with-nds32-lib=glibc',
> +                                 '--with-arch=v3', '--with-cpu=n13',
> +                                 '--enable-default-relax=no',
> +                                 '--with-nds32-lib=glibc',
> +                                 '--disable-libsanitizer',
> +                                 '--disable-multilib'])

--disable-libsanitizer is used by build-many-glibcs.py by default; you 
shouldn't need to add it here.  --with-nds32-lib=glibc should only need to 
be present once, not twice (and it's dubious that it's needed at all - any 
*-linux-gnu configuration should default to glibc in GCC, different target 
triplets such as *-linux-uclibc should be used for different default libc 
for configurations using the Linux kernel).

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]