X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=tre2spPKS6sQFHEOeGhnIZxnZ6xggnP/fjSUnwny844=; b=SaXq3+BaMsdNcERCA98668z83ZwFhQKrscaSHgjwEeIp8y9zdLamc6ngufS0PsbHNO DZewUHv2rkh6pgVbQf6/BWvh6YoGFbrb1hy1WvHfl1jia0cMyIYQW2ZN7pDwdxBJE1gc iR7ycuq0vor5QzVsLXH+rnCjAy6zOj6azDK/7Fyq3+rj6R3CunGwfi2T1TCtLqUTlBPw /4KOTfO3zy8LVMDLYPNOSBIcVWkyFfwC/WKqD+Vw+UsRsLuZAmw35jTGUGsj0bIjzWlU QGN2xw2+Pyzz+I4Co5rQgukspAlyWB9+v8fR+sCwN5u+Q2ZlEyfdLWClDdfSvTXFsfOH Adxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tre2spPKS6sQFHEOeGhnIZxnZ6xggnP/fjSUnwny844=; b=zpG0KNkLMZ0MaCNDjNMSvJVXJk81yZa+WBWhrk0PH34smxxnmwTR5AhPhKJYK81iyH GA8DkA/gfUKHhgv3w4hlBOVzBSmJ9NSqsanKKNQtV482xZRJQcwxuPXFW0nwG3a303+J vP/k+UfZnB26etHcRROJNMgtzcE1wWxS1oSr9tXm9RaOw5c4ns/l+YLbWtFqJQ9YjB54 pJyMQACi+xPmo/yp88mft7FnRUfedIZng5p/FeLwRRk5A9s/xge4G7x9r90aQxhdekV1 YmPfk8sGt4wc16jCGs2yVz8LvOFzH4k9ze5XNDaWEaVUcyne/LJL7gmh2itEP0JsZv6r UkBg== X-Gm-Message-State: AO0yUKVQ5UIZkBsaSBNVV+vtxYMKn67R/rvMUQbM1TVsP71VZEuK96Hd k6hasMkP3mkFUo46+uQmzTid6iTsgnFXCg0weMNodhbx X-Google-Smtp-Source: AK7set+5JBO16fqQoNSlWcyGx+VXE+dpg2IbGje46Ozkkrek/6CpIJCeC22O+Crz8dNru5pc1M6N+6reW83pDvhhum8= X-Received: by 2002:adf:ef4d:0:b0:2bf:d1b3:cc37 with SMTP id c13-20020adfef4d000000b002bfd1b3cc37mr112207wrp.399.1674841402155; Fri, 27 Jan 2023 09:43:22 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <63a56722-21d6-a368-6400-907f0cf9d01c AT gmail DOT com> <3b8f674c-bca3-c679-952e-f8ba5af196e7 AT gmail DOT com> <500850be-fd64-3f82-a1e1-929903084e9b AT gmail DOT com> <3d9271ae-266d-ee7b-853b-984857ced1c8 AT gmail DOT com> From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]" Date: Fri, 27 Jan 2023 20:43:21 +0300 Message-ID: Subject: Re: DXE3 with std::vector To: djgpp AT delorie DOT com Content-Type: text/plain; charset="UTF-8" Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk >>> Getting multiple input sections sounds like some problem with the >>> linker script. Do you have an open-source project for me to test on? >>> I'll admit that I've never used DXE libraries before... >> >> Here is a tiny one: http://uhexen2.sourceforge.net/tmp/libau.tar.gz >> >> cd into src, and adjust Makefile.dj and cross_build.sh scripts as you >> need. If you want to test linking with -lgcc, remove 'udivdi3.o' from >> the objects and add -lgcc > > Thanks. It builds fine for me with the patched dxe3gen, no warnings, > both with and without -lgcc. Well, it does not for me, which _is_ a problem. My toolchain is based on gcc-3.4.6 and binutils-2.26.1.